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

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.

Files for chess-ai, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size chess_ai-0.4-py3-none-any.whl (15.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size chess-ai-0.4.tar.gz (13.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page