started documentation
This commit is contained in:
27
README.md
27
README.md
@ -1,6 +1,29 @@
|
|||||||
# chess
|
<!-- LTeX: language=en-US -->
|
||||||
|
# Chess
|
||||||
|
|
||||||
A chess engine
|
A chess engine with focus on fast move generation.
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
The following dependencies are used for the GUI:
|
||||||
|
- gtk 4
|
||||||
|
- librsvg (for loading the piece images)
|
||||||
|
|
||||||
|
The engine can be built with cmake.
|
||||||
|
|
||||||
|
```
|
||||||
|
cmake .
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
If you do not use make, replace it with ninja for example. The build script contains multiple
|
||||||
|
targets:
|
||||||
|
|
||||||
|
- chess: This is the main target. It has a GUI and the user plays as white. The engine responds with
|
||||||
|
a move for black.
|
||||||
|
- chessNoComputer: The user can play both sides in a GUI. Mainly added for testing the move
|
||||||
|
generator.
|
||||||
|
- findMagicNumber: finds Magic Numbers for the magic bitboard.
|
||||||
|
|
||||||
# sources
|
# sources
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user