The default engine is /usr/bin/stockfish
, but other UCI engine binaries can also be used.
Needs python-chess, Pillow, pygame, and a USB joystick or gamepad to play. (Multiple controllers can also be used at the same time. Also, the pygameUCI window does not even need to have input focus.)
Move the circular blue cursor to the piece you want to move and press any joystick button to pick it up. The cursor turns red. Move it to a valid target square (the cursor will turn green over it) and press a joystick button again to complete the move. Computer moves are highlighted in purple on the board.
You will play as White by default; to play as Black just add black
as a commandline parameter.
After every move the game is exported to game.pgn
in the working directory.
GPL
Board and piece images are from Lichess.