Skip to main content

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

Metadata

Release files for chess-ai 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chess-ai 0.4
File Size Uploaded Provenance Actions
chess-ai-0.4.tar.gz 13.0 kB Without provenance Details for chess-ai-0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chess-ai 0.4
File Interpreter ABI Platform Actions
chess_ai-0.4-py3-none-any.whl Python 3 none any Details for chess_ai-0.4-py3-none-any.whl

Total release size: 28.8 kB

Release files / chess-ai-0.4.tar.gz

Download URL chess-ai-0.4.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f89044015971da1276e63bbb1d9ab9c5280080156522d325424bc99102aa6dca
BLAKE2b-256 checksum
How to use checksums
75498acaaeeb0a1483c2c5e2c54f187d7754f05f4c741d71495a995299c8efd2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / chess_ai-0.4-py3-none-any.whl

Download URL chess_ai-0.4-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3c761c283e74e4056826aff970184cfdd5d351e6e4a5328570a56fe9e975d97
BLAKE2b-256 checksum
How to use checksums
e2578d9501b3b48dc2b3716dfdb4f9bd1e985bb64c3da66eaed6a155f4b5a85b
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for chess-ai 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page