Skip to content

quaternionmedia/launchchess-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

launchchess-python

Play chess on a Launchpad with python!

This is a standalone python library. For the online web based version, see LaunchChess.

install

Installation is optional, and can be skipped if you just want to run the file directly.

pip

pip3 install launchchess

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!