Play chess against the Stockfish engine in your terminal.
This package is available via PyPi.
$ python3 -m pip install chs
To play against the default level 1 (easiest) version of the Stockfish engine, just run chs
command.
$ chs
You can also specify the level of the engine if you want to tweak the difficulty.
$ chs level=8
There are a few things you can do while playing:
- Make moves using valid algebraic notation (e.g.
Nf3
,e4
, etc.). - Take back your last move by playing
back
instead of a valid move. - Get a hint from the engine by playing
hint
instead of a valid move.
This software is free to use under the MIT License. See this reference for license text and copyright information.