20
Learning Rust (lemmy.ca)
submitted 3 weeks 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 5 points 3 weeks ago

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

[-] Rogue@feddit.uk 1 points 3 weeks ago* (last edited 3 weeks 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 (100.0% liked)

Rust Programming

8263 readers
1 users here now

founded 5 years ago
MODERATORS