![]() |
MiniChess Project
by JAYAT Adrien (2024)
|
Authors: Adrien Jayat
A chess game in C++ with a colorful CLI.
Implements all the rules defined by the International Chess Federation.
This project is using two submodules:
First, clone the project and its submodules:
Install make, gcc, doxygen and graphviz with your package manager :
Install MinGW, CMake and make with Chocolatey, then run the following command in the project root directory:
Then, run make to build the project.
To use the Stockfish engine, you need to build it with the following command:
You can also run make docs to generate the documentation.
Preview it with firefox docs/html/index.html for instance.
After building the project, you can run the ./echecs executable to start the program.
The program accepts the following options:
| Option | Description |
|---|---|
--engine | Black are played by the Stockfish engine. |
To test the program, you can run the test-level.sh script in the tests directory. For example, to test the level 1, run the following command: