9 releases (5 stable)

1.2.1 Mar 26, 2024
1.2.0 Feb 28, 2024
1.1.0 Dec 9, 2023
0.1.3 Dec 3, 2023

#242 in Game dev

Download history 23/week @ 2024-02-18 145/week @ 2024-02-25 23/week @ 2024-03-03 17/week @ 2024-03-10 1/week @ 2024-03-17 132/week @ 2024-03-24 42/week @ 2024-03-31 17/week @ 2024-04-07 15/week @ 2024-04-14

206 downloads per month

MIT license

555KB
5.5K SLoC

chess-tui

A chess TUI implementation in rust 🦀

board

GitHub CI License: MIT GitHub release

Demo

With docker

docker run --rm -it ghcr.io/thomas-mauran/chess-tui:main

With Cargo

cargo install chess-tui
chess-tui

With Github

git clone git@github.com:thomas-mauran/chess-tui.git
cd chess-tui
cargo build --release
./target/release/chess-tui

NetBSD

On NetBSD a pre-compiled binary is available from the official repositories. To install it, simply run:

pkgin install chess-tui

Arch Linux

On Arch Linux a PKGBUILD is available from the AUR. To install it, simply use an aur-helper:

paru -S chess-tui

Features

Helper menu Helper menu
Piece moves and checkmate Helper menu
Draws
  • Stalemate
  • 50 moves rules
  • 3 time repetition of the same position
Piece Promotion no demo available yet
Play against a chess engine Play against a chess engine

Roadmap

You can find the roadmap of the project here if you want to contribute.

Crates.io

The project is also available on crates.io here

Connect a chess engine

You can play chess-tui with any UCI compatible chess engines. To do so you will need to use the -e command to give the chess engine binary path.

Example:

chess-tui -e /your/bin/path

Here I installed stockfish using homebrew and gave chess-tui the path the the engine binary. This command will store in your home directory the chess engine path so you don't have to relink it everytime !

Dependencies

~7–18MB
~200K SLoC