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.2.tar.gz
(11.1 kB
view hashes)
Built Distribution
chess_ai-0.2-py3-none-any.whl
(12.9 kB
view hashes)