#dice #tui #curses #terminal #save

app yahtzee

Yahtzee game with ncurses UI

3 releases (breaking)

0.3.0 May 21, 2023
0.2.0 May 6, 2023
0.1.0 May 6, 2023

#416 in Games

33 downloads per month

GPL-3.0-only

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

~335–740KB
~16K SLoC