20
Learning Rust (lemmy.ca)
submitted 5 days ago by kionite231@lemmy.ca to c/rust@lemmy.ml

Hello,

I have started learning Rust. I have only made a fibonaci series program so far but I would make more complex program as I progress in learning Rust :D

you are viewing a single comment's thread
view the rest of the comments
[-] gratux@lemmy.blahaj.zone 5 points 5 days ago

perhaps a simple turn based card game with the ability to add custom cards

[-] Rogue@feddit.uk 1 points 4 days ago* (last edited 4 days ago)

Single player blackjack against the dealer is a good choice.

The basic rules of the game are easy to implement so the payoff is quick and you can extend it later with additional complexity if you like.

  • Aces as 1 or 11
  • splitting doubles
  • Betting
  • Random card, single deck, multiple decks etc
  • Dealer logic as AI
  • Player AI with card counting
this post was submitted on 21 Dec 2024
20 points (95.5% liked)

Rust Programming

8219 readers
2 users here now

founded 5 years ago
MODERATORS