A small, super basic chess CLI.
This project was written in an hour or two for the heck of it when I realized that there were Unicode chess figures for all the different pieces. It doesn't do move validation, win state, move recording, or really anything except moving pieces around a board.
I'm not going to build and release this project, so you'll have to use the source code to build it locally.
- Clone the repo.
cargo run
.- Play
- Enter moves formatted as
{square to pick up}{square to move to}
. For example on move 1 white might playe2e4
. Ctrl-C
to exit.- Note that a terminal theme with a dark background and light text can cause the chess pieces to look like they're opposite of what they should be. The outlined pieces are white and the solid pieces are black no matter what the theme is.
- Enter moves formatted as
- Player names
- Time controls
- Move validation
- Move recording and display
- Import a game state from a PGN
- Move to TUI that can be more interactive