A toy chess game playable against human and engine on terminal.
This project is inspired by Sophia as a personal Go exercise.
go run cmd/main.go cli
OPTIONS:
--flip, -f flip the board at Black's turn (default: false)
--eval, -e show the evaluation bar (default: false)
--white, -w white will be played by an engine (default: false)
--black, -b black will be played by an engine (default: false)
--help, -h show help
A chessboard will be displayed on the terminal.
If -e
is specified, an evaluation bar will be shown below it.
The current PGN is also displayed.
When it is your turn, you can input one of the following to the prompt:
- A move in Standard Algebraic Notation
undo
: This will undo a full move (i.e., your opponent's and your move)