#chess #clock #timer #game

bin+lib rusty_chess_clock

A simple chess clock implementation in Rust

2 stable releases

1.0.1 Aug 20, 2024
1.0.0 Aug 18, 2024

#183 in Games

Download history 104/week @ 2024-08-13 170/week @ 2024-08-20 20/week @ 2024-09-10 12/week @ 2024-09-17 17/week @ 2024-09-24 30/week @ 2024-10-01

79 downloads per month

MIT license

355KB
1.5K SLoC

Rusty Chess Clock

This is a simple chess clock implementation in Rust. It can be used either as a command-line tool (UNIX only) or with a GUI.

Features

GUI

The chess clock GUI features a simple settings menu which allows the user to set several options alongside the chess clock itself.

Screenshot of the chess clock GUI settings menu

Screenshot of the chess clock GUI clock screen

Command Line

The features of the CLI version are similar to those of the GUI version.

Screenshot of the chess clock CLI

Installation

To install the library, which has no dependencies other than the Rust compiler, run the following command in your terminal.

cargo install --git https://github.com/michaelbennett99/rusty_chess_clock.git

GUI

The GUI module requires the gui feature to be enabled. To build the GUI module, run:

cargo build --bin chess_clock --features gui --release

This will create an executable in the target/release directory.

Command Line (UNIX only)

The command line module requires the cli feature to be enabled. To build the command line module, run:

cargo build --bin chess_clock_cli --features cli --release

This will create an executable in the target/release directory.

Dependencies

~0–20MB
~308K SLoC