Welcome to chessengine’s documentation!#
A chess engine written in Python with no dependencies.
Note
This project is under active development and you may run into bugs, especially in the game loop.
Features#
Internal bitboard representation
Alpha-beta pruned search
Move generation API
Opening book
PGN parsing
Usage#
Installation#
See Usage & Installation for detailed installation instructions.
Install using pip:
$ pip install chessengine
Start a game with the computer -
$ chessengine play
Start a game from source code -
$ python -m chessengine play
If you want to play against another player -
$ chessengine play -p
or
$ python -m chessengine play -p