this post was submitted on 21 Dec 2024
16 points (94.4% liked)

Rust Programming

8234 readers
58 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
[โ€“] [email protected] 4 points 1 day ago (1 children)

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

[โ€“] [email protected] 1 points 3 hours ago* (last edited 3 hours 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