Re: Sapeli 1.0 - New chess engine
Posted: Mon Apr 22, 2019 5:12 pm
I was watching Sapeli play fairymax on xboard. It couldn't convert KQkr 2 times.
Fixed that issue very simply.
Sapeli needed a bit more help in eval: https://github.com/SamuraiDangyo/Sapeli ... li.c#L2176
Results: https://lichess.org/e63W8n6Z
KNBk is not a problem: https://lichess.org/lhVnf1tD#0
But there was a bug in move generator in chess960 games.
Fixed and ran tons of chess960 games against Stockfish.
To make sure there's no bugs.
Seems to work fine now.
# tc=40/.1: Score of Sapeli 1.01 vs Stockfish 8 64: 981 - 19 - 0 [0.981] 1000
# tc=40/.15: Score of Sapeli 1.01 vs Stockfish 8 64: 936 - 64 - 0 [0.936] 1000
# tc=40/.3: Score of Sapeli 1.01 vs Stockfish 8 64: 54 - 46 - 0 [0.540] 100
# tc=40/.5: Score of Sapeli 1.01 vs Stockfish 8 64: 2 - 98 - 0 [0.020] 100
In longer games Stockfish is too tough. But Sapeli is a fast bean counter in super short games.
I tested some optimizations on Sapeli perft suite:
# none: nodes 875605409 mnps 9.217 time 95.002
# -O1: nodes 875605409 mnps 21.030 time 41.637
# -O2: nodes 875605409 mnps 22.524 time 38.875
# -O3: nodes 875605409 mnps 22.020 time 39.765
# -Ofast: nodes 875605409 mnps 21.838 time 40.095
# -Ofast -march=native:
# nodes 875605409 mnps 21.051 time 41.594
I made a release. Which contains only source code. It should now be stable.
https://github.com/SamuraiDangyo/Sapeli ... apeli-1.01
Fixed that issue very simply.
Sapeli needed a bit more help in eval: https://github.com/SamuraiDangyo/Sapeli ... li.c#L2176
Results: https://lichess.org/e63W8n6Z
KNBk is not a problem: https://lichess.org/lhVnf1tD#0
But there was a bug in move generator in chess960 games.
Fixed and ran tons of chess960 games against Stockfish.
To make sure there's no bugs.
Seems to work fine now.
# tc=40/.1: Score of Sapeli 1.01 vs Stockfish 8 64: 981 - 19 - 0 [0.981] 1000
# tc=40/.15: Score of Sapeli 1.01 vs Stockfish 8 64: 936 - 64 - 0 [0.936] 1000
# tc=40/.3: Score of Sapeli 1.01 vs Stockfish 8 64: 54 - 46 - 0 [0.540] 100
# tc=40/.5: Score of Sapeli 1.01 vs Stockfish 8 64: 2 - 98 - 0 [0.020] 100
In longer games Stockfish is too tough. But Sapeli is a fast bean counter in super short games.
I tested some optimizations on Sapeli perft suite:
# none: nodes 875605409 mnps 9.217 time 95.002
# -O1: nodes 875605409 mnps 21.030 time 41.637
# -O2: nodes 875605409 mnps 22.524 time 38.875
# -O3: nodes 875605409 mnps 22.020 time 39.765
# -Ofast: nodes 875605409 mnps 21.838 time 40.095
# -Ofast -march=native:
# nodes 875605409 mnps 21.051 time 41.594
I made a release. Which contains only source code. It should now be stable.
https://github.com/SamuraiDangyo/Sapeli ... apeli-1.01