this post was submitted on 21 Dec 2024
19 points (95.2% liked)

Rust Programming

8239 readers
3 users here now

founded 5 years ago
MODERATORS
 

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
[–] Rogue@feddit.uk 2 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