A simple chess engine in C#.
- Download LibrEng and put all files in a directory.
- Navigate to the directory in a terminal of your choice.
To play against LibrEng, just run libreng -pf "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR"
and get playing!
To evaluate a board with LibrEng, run libreng -ef (fen of board)
and get an eval value!
Use the parameter -d
to set depth (default: 6), for example: libreng -pf "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR" -d 10