Edit on GitHub
High level architecture
The project has the following directory layout (under src/
):
chess/
- Contains the chess logic, including the board representation and the movegen. These types are used in the search and backend APIs and therefore are shared between them.search/
- Contains the search algorithms.neural/
- Contains the neural network backend implementations.utils/
- Contains assorted utility code, such as logging, command line parsing, etc.selfplay/
andtrainingdata/
- Contains code related to self-play and training data generation.tools/
- Contains code for other non-UCI tools, such as network converters.
Entrypoint
The entrypoint of the engine is
main.cc
.
Last Updated: 2025-07-25