3 releases (breaking)
0.3.0 | May 21, 2023 |
---|---|
0.2.0 | May 6, 2023 |
0.1.0 | May 6, 2023 |
#634 in Games
27KB
689 lines
Yahtzee-rs
Yahtzee game in Rust
Controls
- Arrow keys Up/Down/Enter to choose die for saving
- You can also use hjkl
- Ctrl+C or Q during the game to exit
Features
- Ncurses TUI for playing in your favourite terminal
- Simple AI that plays against the human player
- Highscore saving (see ~/.config/highscore.txt)
Installation
You can either build the latest version from Github:
$ git clone https://github.com/postmodernist1488/yahtzee-rs.git
$ cd yahtzee-rs
$ cargo build --release
$ cd target/release/
$ ./yahtzee
or install from crates.io:
$ cargo install yahtzee
$ yahtzee
Dependencies
~345–640KB
~13K SLoC