Provides Chess API and AI
Project description
Chess AI
Provides a very basic chess game and AI.
Very Quick Tutorial
To construct a new chess board, use the Board class.
>>> board = Board();
To show the board, print board.
>>> print(board)
To locate a position, use locate().
>>> locate("a3")
a3
To get a piece, call the get_piece method.
>>> board.get_piece(locate("a1"))
Rook("white") at a1
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
chess-ai-0.4.tar.gz
(13.0 kB
view details)
Built Distribution
chess_ai-0.4-py3-none-any.whl
(15.8 kB
view details)
File details
Details for the file chess-ai-0.4.tar.gz
.
File metadata
- Download URL: chess-ai-0.4.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f89044015971da1276e63bbb1d9ab9c5280080156522d325424bc99102aa6dca |
|
MD5 | 16d30bece4fe653aa53d199fba914a82 |
|
BLAKE2b-256 | 75498acaaeeb0a1483c2c5e2c54f187d7754f05f4c741d71495a995299c8efd2 |
File details
Details for the file chess_ai-0.4-py3-none-any.whl
.
File metadata
- Download URL: chess_ai-0.4-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3c761c283e74e4056826aff970184cfdd5d351e6e4a5328570a56fe9e975d97 |
|
MD5 | c3e0d38c658cfd10918993a91ad8685b |
|
BLAKE2b-256 | e2578d9501b3b48dc2b3716dfdb4f9bd1e985bb64c3da66eaed6a155f4b5a85b |