You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 days ago | |
---|---|---|
board | 4 days ago | |
engine | 4 days ago | |
mochilog | 4 days ago | |
perft-results | 12 months ago | |
test | 4 days ago | |
uci | 4 days ago | |
LICENSE | 4 days ago | |
README.md | 4 days ago | |
go.mod | 1 year ago | |
logo.png | 12 months ago | |
main.go | 4 days ago |
README.md
MOCHI
MOCHI - the MinOr CHess engIne
MOCHI is a toy project to implement a simple chess engine in Go.
MOCHI is an UCI chess engine. That means you need a GUI to play against it. Currently only HIARCS (https://www.hiarcs.com/) is tested. I plan to test a few chess GUIs, eventually.
See my blog posts for more information:
Perft-Testing
MOCHI has built-in perft testing. To execute a test, run
# defaults to go run mochi perft cpw 4, see below
go run mochi
# run PERFT of the chess programming wiki test positions to the given depth (4)
go run mochi perft cpw 4
# run PERFT of the given FEN position to the given depth (5)
go run mochi perft fen "rnbqkbnr/pppppppp/8/8/8/N7/PPPPPPPP/R1BQKBNR b KQkq - 1 1" 5
Extensive test results are saved in perft-results.
Author
Chris Mair chris@1006.org
License
The MOCHI source code is released under the BSD-2-Clause license. See the file LICENSE for details.
Logo
The MOCHI logo has been designed by Emil B. Mair and is licensed under CC BY 4.0. See https://creativecommons.org/licenses/by/4.0/ for details.