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 Distribution
Built Distribution
File details
Details for the file Chaturanga-0.1.0.tar.gz
.
File metadata
- Download URL: Chaturanga-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 140b52a51868bcae14831632ecb4251c6f36ad542a2eba05bb5a3524f7041f6b |
|
MD5 | fc77ad378fafa62be52e5b61f30c1358 |
|
BLAKE2b-256 | 9b1ae70dd8eecc9c835c4a180e7db95894400bcef9aee959a7ce40c78781856e |
File details
Details for the file Chaturanga-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: Chaturanga-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e15d9ccd5c3273760ef500a8560a9d4365082191bc3e76d1cac05f4548944fd |
|
MD5 | 16ad6b45d2b00fe75c9e1504fcb70023 |
|
BLAKE2b-256 | b9efe7ef1e858c451d618a63dcaf0105f0566882f3b2477595790cb0a0883c62 |