Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 958 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 958 Bytes

gochess

A toy chess game playable against human and engine on terminal.

This project is inspired by Sophia as a personal Go exercise.

Usage

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

Interface

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.

Interface

When it is your turn, you can input one of the following to the prompt: