chess-ai-0.4
توضیحات
Provides Chess API and AI
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | chess-ai-0.4 |
| نام | chess-ai |
| نسخه کتابخانه | 0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Tae Hyung Kim |
| ایمیل نویسنده | thkim1011@berkeley.edu |
| آدرس صفحه اصلی | http://github.com/thkim1011/chess-ai |
| آدرس اینترنتی | https://pypi.org/project/chess-ai/ |
| مجوز | MIT |
# 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
نحوه نصب
نصب پکیج whl chess-ai-0.4:
pip install chess-ai-0.4.whl
نصب پکیج tar.gz chess-ai-0.4:
pip install chess-ai-0.4.tar.gz