Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 1.15 KB

README.md

File metadata and controls

41 lines (36 loc) · 1.15 KB

Uno-Rust

CLI Uno card game written in Rust.


Roadmap (updated August 2024)

  • Playable base game
    • Against local human players
    • Against machines
      • Dumb ones
      • Smart ones
    • Against network human players remote possibility
  • Customizable game rules
  • Cards with effects
    • Skip
    • Flip direction
    • +2
    • +4
    • Change color
  • Nice cards (see images)
  • Tests (back to square one at this)
    • Session
    • Players
      • Player queues
    • Cards
      • Card pickers
      • Color pickers
    • Decks
      • Shuffling
    • Rules
  • Code-level documentation

Technical debt

As of this commit, invalid Cards can be constructed.

The current implementation requires that a card has a face, and an optional color. Simple, yet wrong, as many colored cards can be constructed without one. I am to find a good middle point between simple and correct - already had some ideas, and even if they fix the invalid state issue, they require some duplication.

Next steps are to come up with a good type-level solution for the cards, and write some tests.