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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file chesstutor-Ceasar-0.0.6.tar.gz.

File metadata

  • Download URL: chesstutor-Ceasar-0.0.6.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for chesstutor-Ceasar-0.0.6.tar.gz
Algorithm Hash digest
SHA256 32cbbad073419eb324276d42ff850b0d6ea22e2911142a0d0364dd3359adf48c
MD5 53e9879f55a38c78fb565f8660d18ae1
BLAKE2b-256 f7faab67456912ba59612fba7629384191557ff0d05ebfbdbc18ef8ea73a67e0

See more details on using hashes here.

File details

Details for the file chesstutor_Ceasar-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: chesstutor_Ceasar-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for chesstutor_Ceasar-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d296f48b02d2e94f0fa4a1023afbdef269b57ef940418d26d8e355ef37b900db
MD5 5d4c6496b526a3573d63baa351bcda53
BLAKE2b-256 66f88166e042f57341d220632d14786881775bcc338c6020ad7a8a0513dcf508

See more details on using hashes here.

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