Skip to main content

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 hashes)

Uploaded Source

Built Distribution

chess_ai-0.4-py3-none-any.whl (15.8 kB view hashes)

Uploaded Python 3

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