Page 1 of 1

New Musketeer engine: Capitaine

Posted: Mon Apr 06, 2020 10:32 am
by JohnWoe
I release my Musketeer Chess engine: https://github.com/SamuraiDangyo/Capita ... /tag/v0.45

BENCH: 108864000

The whole engine in just one file: Capitaine.c
Really compact: 2623 sloc / 94.8 KB

Uses UCI protocol.
I wanted to make it as compact as possible. So I removed all unnecessary crap. But not obfuscated and still playing at decent level.
Have fun :D

Re: New Musketeer engine: Capitaine

Posted: Mon Apr 06, 2020 4:44 pm
by CMCanavessi
Does it play "normal" chess too?

Re: New Musketeer engine: Capitaine

Posted: Mon Apr 06, 2020 5:13 pm
by JohnWoe
CMCanavessi wrote:
Mon Apr 06, 2020 4:44 pm
Does it play "normal" chess too?
Hello!

No. Capitaine only plays Musketeer Chess.

If you enter standard startpos / "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1". It starts placing pieces.

Code: Select all

./capitaine
...
go infinite
info depth 0 nodes 545 time 4 nps 136250 score cp -26 pv C
info depth 1 nodes 6839 time 8 nps 854875 score cp -11 pv C
info depth 2 nodes 32551 time 17 nps 1914764 score cp -29 pv C
info depth 3 nodes 83193 time 29 nps 2868724 score cp -11 pv C
info depth 4 nodes 261384 time 72 nps 3630333 score cp -29 pv C
info depth 5 nodes 1182161 time 326 nps 3626260 score cp -11 pv D
info depth 6 nodes 1568645 time 444 nps 3532984 score cp 1000 pv D
info depth 7 nodes 5294896 time 1760 nps 3008463 score cp -10 pv U
info depth 8 nodes 10456640 time 3808 nps 2745966 score cp -10 pv U