Skip to main content

Chess API for python

Project description

# Chaturanga

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

## Installation

` $ pip install Chaturanga `

## Functionality

  • 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

  • Chess Bot using Depth Analysis

As of now, the Chessboard supports input in a long algebraic notation (eg. ‘e2e4’) to make a move.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Chaturanga-0.1.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for Chaturanga-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4d6cd5c44ae375b51d9fe529665d32a79a892d55197fc09c9fdc91ee0ed85b92
MD5 bb7a41ff4f0800ccabdc1c8831c4dbeb
BLAKE2b-256 5513551c467af4408c11e973cf08f68f237509c0e614bf3e833f8499f1f2feca

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