yahtzee

Crates.ioyahtzee
lib.rsyahtzee
version0.3.0
sourcesrc
created_at2023-05-06 19:37:06.538917
updated_at2023-05-21 21:18:16.347637
descriptionYahtzee game with ncurses UI
homepage
repositoryhttps://github.com/postmodernist1488/yahtzee-rs
max_upload_size
id858711
size63,764
Vladimir (postmodernist1488)

documentation

README

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
Commit count: 24

cargo fmt