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.
Source Distribution
File details
Details for the file launchchess-0.1.1.tar.gz
.
File metadata
- Download URL: launchchess-0.1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92bccfefb37fc51572289d88ff6c717ad2fdfec1cab3aa4f9a5d4c2459dde753 |
|
MD5 | bda91e6adf00e17cd16fdd25e4d22501 |
|
BLAKE2b-256 | 5e0982846f247c467057270b9241626c56435df59f368225f2faaec456c510d6 |