#command-line #game #uno #model

app uno-cli

rust cli for uno game

7 releases

0.1.7 Feb 14, 2024
0.1.6 Feb 8, 2024

#62 in Games

29 downloads per month

AGPL-3.0-or-later

740KB
444 lines

Uno-CLI

Install

With Cargo Installed

$ cargo install uno-cli

Building from Source

$ git clone https://github.com/benraz123/uno
$ cd uno
$ cargo run

What is this?

uno-cli is an attempt to model Uno in a command line context.

How does Uno-CLI work?

To launch, write uno-cli. Use WASD/HJKL keys to select cards. A card can be played if it is a wild card, or if it is the same number or same color or both.

Default Keybindings

Key Action
a / h Move cursor one to the left
d / l Move cursor one to the right
Enter Select Option

Progress

  • Get basic game running
  • Add skip card
  • Add draw two card
  • Add wild card
  • Add wild draw four card

Dependencies

~2–12MB
~109K SLoC