Play chess on a Launchpad
Project description
launchchess-python
Play chess on a Launchpad with python!
install
Installation is optional, and can be skipped if you just want to run the file directly.
pip
pip3 install launchchess-python
local
git clone https://github.com/quaternionmedia/launchchess-python.git
cd launchchess-python
pip3 install -r requirements.txt
pip3 install launchchess-python/
config
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'
pieces
Visit scad-chess for a free 3D printable chess set, which can be printed at any scale, in any color!
run
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.