Play chess on a Launchpad with python!
This is a standalone python library. For the online web based version, see LaunchChess.
Installation is optional, and can be skipped if you just want to run the file directly.
pip3 install launchchess
git clone https://github.com/quaternionmedia/launchchess-python.git
cd launchchess-python
pip3 install -r requirements.txt
pip3 install launchchess-python/
Download a UCI compatible chess engine, such as the free stockfish engine.
Edit config.py
to include the path to this file:
STOCKFISH = './stockfish_20090216_x64_avx'
Optionally, include the name of your Launchpad in config.py
for automatic connecting:
LAUNCHPAD = 'Launchpad X:Launchpad X LPX MIDI'
Visit scad-chess for a free 3D printable chess set, which can be printed at any scale, in any color!
Plug in your Launchpad and run:
launchchess
Or, run the file directly, without installing:
python3 launchchess/launchchess.py
Select your midi device if presented, and begin playing!