#dice #tui #curses #terminal

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

#35 in Games

Download history 46/week @ 2023-05-06 3/week @ 2023-05-13 28/week @ 2023-05-20 16/week @ 2023-05-27

93 downloads per month

GPL-3.0-only

26KB
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–580KB
~11K SLoC