Skip to main content

Play chess on the command line.

Project description

Improve your chess skills by playing human-computer chess on the command line.

The program will use a chess engine to calculate the top three moves in the current position, and display them to the player in a random order without revealing the scores. The player attempts to choose the best move. Then program reveals the score and chooses the best move for black.

Set up

Install the stockfish chess engine (Mac OS):

brew install stockfish

Create the environment:

virtualenv env
source env/bin/activate
pip install -r requirements.txt

Then play:

python chesstutor.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chesstutor-Ceasar-0.0.6.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

chesstutor_Ceasar-0.0.6-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page