Skip to main content

Chess API for python

Project description

# Chaturanga

Chaturanga is a Chess API written in Python that supports two-player games.

As of now, the Chessboard supports input in a (start, stop) format to make a move.

Functionality includes: * Chessboard generation from a given valid FEN position * Pretty print of the Chessboard using Unicode (optional, defaults to False) * Generation of all legal moves for a given position. (including en-passant, castling, and promotion) * Identifying potential draw situations (3-fold repitition, 100 plies) and checks. * Identification of all game ending criteria (Checkmate, Stalemate, 5-fold repitition, 150 plies) * Undoing a move * Resetting the Chessboard

A Chess bot using depth analysis is under construction.

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

Chaturanga-0.0.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

Chaturanga-0.0.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file Chaturanga-0.0.1.tar.gz.

File metadata

  • Download URL: Chaturanga-0.0.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Chaturanga-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bce05d38a429a2c8685292e9e10cc42e2e47e2419ecfaab524aa2eb419b39ad2
MD5 bae6807af3f72396e5762ff581d572f6
BLAKE2b-256 4b688cd434176a81642cb204d0ca28e140a9bc1d0c154c983b67198aa64f9431

See more details on using hashes here.

File details

Details for the file Chaturanga-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Chaturanga-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67ac2d0bde384c6914e2cb4f9edb5f09097cc2ec2285e4a548a2779ecb4dd924
MD5 d1ab236099efa305d267724c22b402d1
BLAKE2b-256 ada0aafcaa81d3bf3766a13fad70e0f0d280d0e395cf394667af9aa5f6d1fb47

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