MOCHI - the MinOr CHess engIne
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.
 
 
Chris Mair 60dbd9f6dc updated README 4 days ago
board added UCI protocol support, evaluation and simple minimax tree search 4 days ago
engine added UCI protocol support, evaluation and simple minimax tree search 4 days ago
mochilog added UCI protocol support, evaluation and simple minimax tree search 4 days ago
perft-results updat ecomments in perft-results 12 months ago
test added UCI protocol support, evaluation and simple minimax tree search 4 days ago
uci added UCI protocol support, evaluation and simple minimax tree search 4 days ago
LICENSE added UCI protocol support, evaluation and simple minimax tree search 4 days ago
README.md updated README 4 days ago
go.mod first real commit (just board state and FEN input) 1 year ago
logo.png added logo and expanded README 12 months ago
main.go added UCI protocol support, evaluation and simple minimax tree search 4 days ago

README.md

MOCHI

MOCHI - the MinOr CHess engIne

MOCHI logo

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

https://www.1006.org

License

The MOCHI source code is released under the BSD-2-Clause license. See the file LICENSE for details.

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.