adajed / chessplusplus Goto Github PK
View Code? Open in Web Editor NEWChess UCI engine
License: MIT License
Chess UCI engine
License: MIT License
Hi Adam,
I tried your chess engine in WIN and there are always crashes/disconnects in WIN7-64 Ultimate.
(This is a report for commit 100 - regrettably I have no logs or crash reports saved)
It compiled fine after missing includes (stdint.h) in several files.
This is the output from cmd after go infinite
Chess engine by Adam Jedrych (build Mar 22 2021 13:24:35)
uci
id name Deep Chess
id author Adam Jedrych
option name Logfile type string default
option name Polyglot Book type string default
uciok
ucinewgame
isready
readyok
position startpos
go infinite
info depth 1 score cp 17 nodes 21 nps 21000 time 0 pv e2e4
info depth 2 score cp -1 nodes 88 nps 22000 time 3 pv e2e3 e7e5
info depth 3 score cp 16 nodes 703 nps 70300 time 9 pv d2d4 g8f6 a2a3
info depth 4 score cp -1 nodes 2017 nps 91681 time 21 pv e2e3 e7e5 a2a3
info depth 5 score cp 15 nodes 12272 nps 188800 time 64 pv e2e3 e7e5 d1h5 d8f6 b1c3
info depth 6 score cp 0 nodes 36387 nps 173271 time 209 pv e2e3 e7e5 b1c3 g8f6 f1b5 b8c6
info depth 7 score cp 12 nodes 311879 nps 234671 time 1328 pv e2e4 b8c6 d2d4 e7e5 d4e5 c6e5 c1e3
Example games under CuteChessGUI 1.20 (dev branch from alwey)
[Event "Test@CuteCGdv"]
[Site "RWBC-CAPPUCCINO Win7U64 Q8200 2.33Ghz + Nvidia GT 710"]
[Date "2021.03.22"]
[Round "1"]
[White "DeepChess_r100-64"]
[Black "Loki_120-64"]
[Result "0-1"]
[ECO "B20"]
[GameDuration "00:03:48"]
[GameEndTime "2021-03-22T13:41:02.015 Mitteleuropõische Zeit"]
[GameStartTime "2021-03-22T13:37:13.401 Mitteleuropõische Zeit"]
[Opening "Sicilian defense"]
[PlyCount "74"]
[Termination "abandoned"]
[TimeControl "40/120"]
1. e4 {book} c5 {book} 2. b3 {book} e6 {book} 3. Bb2 {book} d5 {book}
4. Nc3 {+0.26/7 3.05s} d4 {+0.01/8 3.19s} 5. Nb5 {+0.32/7 3.45s}
Nc6 {-0.10/7 3.19s} 6. Qf3 {+0.29/7 2.86s} Nf6 {+0.34/6 3.20s}
7. Nh3 {-0.01/6 2.17s} e5 {+0.93/7 3.19s} 8. Na3 {-0.14/6 2.15s}
Bg4 {+1.42/7 3.20s} 9. Qd3 {-0.14/6 3.71s} Be7 {+1.27/7 3.20s}
10. Be2 {-0.12/6 3.69s} Bxh3 {+1.28/7 3.21s} 11. gxh3 {+0.48/7 2.12s}
Qd7 {+1.41/6 3.20s} 12. O-O {+0.19/6 3.76s} Rb8 {+1.28/7 3.21s}
13. Qf3 {+0.50/7 2.79s} Rd8 {+1.14/7 3.21s} 14. Bd3 {+0.33/6 3.80s}
O-O {+1.37/7 3.22s} 15. Rfc1 {+0.23/6 3.82s} Qc7 {+1.49/6 3.21s}
16. Bf1 {+0.42/7 3.60s} b6 {+1.33/6 3.21s} 17. Bb5 {+0.27/6 3.77s}
Qc8 {+1.17/7 3.21s} 18. Nc4 {+0.30/6 1.98s} Nd7 {+1.07/8 3.21s}
19. Qf5 {+0.36/7 3.58s} g6 {+0.98/9 3.22s} 20. Qg4 {+0.06/8 2.14s}
a6 {+1.20/8 3.23s} 21. Bxc6 {-0.11/8 3.40s} Qxc6 {+1.09/9 3.23s}
22. a3 {+0.07/7 3.82s} b5 {+3.02/8 3.23s} 23. Na5 {-1.36/8 2.54s}
Qb6 {+3.16/9 3.23s} 24. b4 {-1.47/8 4.07s} cxb4 {+3.20/9 3.24s}
25. axb4 {-1.53/8 2.38s} Bxb4 {+3.31/8 3.23s} 26. Nb3 {-1.60/8 3.53s}
a5 {+3.25/8 3.24s} 27. c3 {-1.27/7 4.16s} Nc5 {+2.83/9 3.24s}
28. Nxd4 {-1.34/8 3.02s} exd4 {+3.65/10 3.25s} 29. cxb4 {-1.53/8 2.65s}
axb4 {+3.58/9 3.25s} 30. Qf3 {-1.43/7 2.91s} Rfe8 {+4.34/8 3.25s}
31. Re1 {-1.94/7 4.13s} Qb7 {+4.34/8 3.26s} 32. d3 {-2.26/7 3.30s}
f5 {+4.36/8 3.27s} 33. Qg3 {-2.58/7 4.38s} fxe4 {+5.59/9 3.27s}
34. dxe4 {-2.77/7 4.27s} Nxe4 {+5.29/8 3.28s} 35. Qg2 {-2.81/7 2.66s}
b3 {+5.30/8 3.29s} 36. Rad1 {-2.57/7 3.37s} b4 {+4.34/8 3.31s}
37. Rxd4 {-1.74/8 3.41s} Rxd4 {+4.34/10 3.31s, White disconnects} 0-1
[Event "Test@CuteCGdv"]
[Site "RWBC-CAPPUCCINO Win7U64 Q8200 2.33Ghz + Nvidia GT 710"]
[Date "2021.03.22"]
[Round "1"]
[White "Loki_120-64"]
[Black "DeepChess_r100-64"]
[Result "1-0"]
[ECO "B20"]
[GameDuration "00:00:21"]
[GameEndTime "2021-03-22T13:41:24.573 Mitteleuropõische Zeit"]
[GameStartTime "2021-03-22T13:41:03.114 Mitteleuropõische Zeit"]
[Opening "Sicilian defense"]
[PlyCount "11"]
[Termination "abandoned"]
[TimeControl "40/120"]
1. e4 {book} c5 {book} 2. b3 {book} e6 {book} 3. Bb2 {book} d5 {book}
4. exd5 {+0.33/8 3.20s} exd5 {-0.12/7 1.93s} 5. Nf3 {+0.18/7 3.20s}
Qe7+ {-0.08/7 3.62s} 6. Be2 {+0.55/6 3.20s, Black disconnects} 1-0
[Event "Test@CuteCGdv"]
[Site "RWBC-CAPPUCCINO Win7U64 Q8200 2.33Ghz + Nvidia GT 710"]
[Date "2021.03.22"]
[Round "2"]
[White "DeepChess_r100-64"]
[Black "Loki_120-64"]
[Result "0-1"]
[ECO "D06"]
[GameDuration "00:00:41"]
[GameEndTime "2021-03-22T13:42:07.502 Mitteleuropõische Zeit"]
[GameStartTime "2021-03-22T13:41:25.675 Mitteleuropõische Zeit"]
[Opening "QGD"]
[PlyCount "18"]
[Termination "abandoned"]
[TimeControl "40/120"]
[Variation "Symmetrical (Austrian) defense"]
1. d4 {book} d5 {book} 2. c4 {book} c5 {book} 3. Nf3 {book} cxd4 {book}
4. Qxd4 {+0.18/7 3.55s} dxc4 {-0.24/9 3.19s} 5. Qxd8+ {+0.19/7 3.55s}
Kxd8 {-0.23/8 3.20s} 6. Na3 {-0.03/8 2.70s} c3 {+0.36/8 3.20s}
7. bxc3 {+0.09/8 2.48s} Nc6 {+0.17/7 3.21s} 8. Bf4 {+0.24/8 2.64s}
Nf6 {+0.22/7 3.20s} 9. Rd1+ {+1.20/8 2.30s}
Nd7 {-0.09/7 3.20s, White disconnects} 0-1
[Event "Test@CuteCGdv"]
[Site "RWBC-CAPPUCCINO Win7U64 Q8200 2.33Ghz + Nvidia GT 710"]
[Date "2021.03.22"]
[Round "2"]
[White "Loki_120-64"]
[Black "DeepChess_r100-64"]
[Result "1-0"]
[ECO "D06"]
[GameDuration "00:01:04"]
[GameEndTime "2021-03-22T13:43:13.063 Mitteleuropõische Zeit"]
[GameStartTime "2021-03-22T13:42:08.605 Mitteleuropõische Zeit"]
[Opening "QGD"]
[PlyCount "23"]
[Termination "abandoned"]
[TimeControl "40/120"]
[Variation "Symmetrical (Austrian) defense"]
1. d4 {book} d5 {book} 2. c4 {book} c5 {book} 3. Nf3 {book} cxd4 {book}
4. cxd5 {+0.22/9 3.20s} Qa5+ {-0.02/7 3.55s} 5. Qd2 {+0.37/7 3.20s}
Qxd5 {-0.13/8 2.16s} 6. Nc3 {+0.23/8 3.20s} Qd7 {+0.01/7 2.99s}
7. Nxd4 {+0.23/9 3.30s} e5 {-0.21/6 3.70s} 8. Nf3 {+0.27/8 3.20s}
Nc6 {-0.08/7 3.01s} 9. e4 {+0.16/7 3.20s} Qxd2+ {-0.17/6 3.65s}
10. Bxd2 {+0.27/6 3.20s} Nf6 {-0.22/7 3.62s} 11. Bb5 {+0.78/7 3.20s}
Bd7 {-0.33/7 2.61s} 12. Nd5 {+0.61/8 3.20s, Black disconnects} 1-0
106TH AMATEUR SERIES (Division 10)
Waxman 2022
Shen Yu 2.0.1 64-bit
Queen 4.05 64-bit
Bienchen 1.0 64-bit
Eubos 3.3 64-bit
CeeChess 1.4 64-bit
Fatalii 0.6.0 64-bit
Cinnamon 2.5 64-bit
Motor 0.1.0 64-bit (new)
Austerlitz 1.4.7 64-bit (new)
Tcheran 2.1 64-bit (new)
Arcanum 1.12 64-bit (new)
chessplusplus 1.2.0 64-bit
Aurora 1.0.0 64-bit (new)
Simbelmyne 1.3.1 64-bit (new)
Maxwell 3.1.3 64-bit (new)
Blocky 1.0 64-bit (new)
Oxidation 0.6.0 64-bit (new)
Web based link for live viewing (courtesy of Jay - Berserk author).
https://ccrl.live/16069
Hi Adam,
Will you please resolve some confusion.
What is the engine name? The engine itself says it is Deep Chess while you call it chessplusplus.
Also, the version name is missing from the engine id, it would be useful to include it so that later versions could be distinguished from this one.
Gabor Szots,
CCRL testing group
BTW, how strong do you assess your engine on a CCRL scale?
Hi Adam,
I am unable to compile your engine. I am a complete stranger to CMake and trying
g++ *.cpp -flto -O3 -march=native -oChessPlusPlus_1.2.0-x64-SzG.exe
also failed because I got this type of error:
In file included from endgame.h:4,
from bitbase.cpp:3:
position.h:9:10: fatal error: bits/stdint-uintn.h: No such file or directory
9 | #include <bits/stdint-uintn.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from endgame.h:4,
from endgame.cpp:1:
position.h:9:10: fatal error: bits/stdint-uintn.h: No such file or directory
9 | #include <bits/stdint-uintn.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Could you not provide exes for a couple of platforms?
Gabor
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.