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
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 Distributions
Built Distribution
Hashes for Chaturanga-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70cb50526ee8936494fb2b8376da0285ba7c95bf8e9286a990eec21fda92d04d |
|
MD5 | 218ca5cea8ac13ef2a6fdc67fbd9ad0c |
|
BLAKE2b-256 | 464771a81af9f912d6c134d81f2eb14d2bb1298a0791e1b0137125cb4b23e672 |