Topple

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

Topple

Post by konsolas »

So I've finally finished implementing UCI and I've created the first release of my engine on GitHub:
https://github.com/konsolas/ToppleChess ... tag/v0.0.3

Windows binary (mingw-w64), but it's a cmake project so it should be easy to compile on other operating systems.

Any feedback and suggestions would be greatly appreciated :D
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Topple

Post by Guenther »

konsolas wrote: Sun Jun 10, 2018 12:47 am So I've finally finished implementing UCI and I've created the first release of my engine on GitHub:
https://github.com/konsolas/ToppleChess ... tag/v0.0.3

Windows binary (mingw-w64), but it's a cmake project so it should be easy to compile on other operating systems.

Any feedback and suggestions would be greatly appreciated :D
Thanks for the release. I have a couple of questions though.
Would it be possible to compile a non popcount version, which runs on older 64-bit systems?

What country should be listed with your program Vincent?

Guenther
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

Re: Topple

Post by Norbert Raimund Leisner »

Hello Vincent,

it seems that Topple current win64 engine looses sometimes on time before the fortieth ply will be executed on WinBoard 4.8.0 GUI

http://www.open-aurec.com/wbforum/viewt ... 19&t=51528

[Event "Computer Chess Game"]
[EventDate "?"]
[Site "QUADCORE-I5"]
[Date "2018.06.13"]
[Round "2"]
[White "Topple v0.0.3"]
[Black "Sayuri 2018.05.23"]
[Result "0-1"]
[TimeControl "40/120"]
[Annotator "1. +0.06 1... -0.56"]

1. e4 e5 2. Nf3 Nf6 3. Nc3 Nc6 4. d4 exd4 5. Nxd4 Bb4 6. Nxc6 bxc6 7. Qd4 Qe7 8. Be3 c5 9. Qc4 Nxe4 10. Bd3 Nxc3 11. bxc3 Ba6 12. Qb3 Bxd3 13. cxd3 Ba5 14. O-O O-O 15. Rab1 Rfe8 16. Qc4 Bb6 17. Rfe1 c6 18. Qf4 d5 19. Bd2 Qd7 20. c4 Bc7 21. Qh4 Qf5 22. cxd5 Qxd3 23. Be3 Qxd5 24. Rb7 Re4
25. Qh3 Re7 26. Rb2 Rd8 27. Rbb1 a5 28. Rec1 c4 29. Qh4 Re4 30. Qh3 a4 31. g3 a3 32. Rc3 Bd6 33. Qf1 Bc5 34. Bxc5 Qxc5 35. Rc2 g5 36. Rbc1 Rdd4 37. Rc3 Kg7 38. h3 f5 39. R3c2 Kg6 0-1

[Event "Computer Chess Game"]
[EventDate "?"]
[Site "QUADCORE-I5"]
[Date "2018.06.13"]
[Round "3"]
[White "Sayuri 2018.05.23"]
[Black "Topple v0.0.3"]
[Result "1-0"]
[TimeControl "40/120"]
[Annotator "1. +0.01 1... -0.21"]

1. e3 Nf6 2. d4 d5 3. Bd3 c5 4. Nf3 Nc6 5. O-O Bg4 6. c3 e6 7. dxc5 Bxc5 8. b4 Bd6 9. Nbd2 O-O 10. Bb2 Rc8 11. Qb1 a6 12. Ng5 h6 13. Nh7 Re8 14. Nxf6+ Qxf6 15. Bh7+ Kh8 16. c4 Be5 17. Bxe5 Nxe5 18. f3 Bh5 19. cxd5 exd5 20. Bf5 Rc3 21. e4 Nd3 22. Kh1 Bg6 23. Bxg6 Qxg6 24. Qd1 Qc6
25. exd5 Qxd5 26. Ne4 Rc4 27. Qb3 Rd8 28. a3 f5 29. Nc3 Qg8 30. Nd1 Rc6 31. Qxg8+ Kxg8 32. f4 g6 33. Ne3 Kg7 34. Rf3 b5 35. g3 Rcc8 36. h4 Rc3 37. a4 Kh7 38. Ng2 Rc7 39. axb5 axb5 40. h5 1-0


[Event "Computer Chess Game"]
[EventDate "?"]
[Site "QUADCORE-I5"]
[Date "2018.06.13"]
[Round "5"]
[White "Sayuri 2018.05.23"]
[Black "Topple v0.0.3"]
[Result "1-0"]
[TimeControl "40/120"]
[Annotator "1. +0.32 1... -0.21"]

1. e3 Nf6 2. Nf3 d5 3. c4 Nc6 4. cxd5 Nxd5 5. Bb5 Qd6 6. e4 Nf4 7. O-O Bg4 8. d4 O-O-O 9. Nc3 g5 10. Bxc6 bxc6 11. Re1 c5 12. e5 Qh6 13. Bxf4 gxf4 14. d5 Rg8 15. Qe2 Bh3 16. g3 Qb6 17. a4 fxg3 18. fxg3 c4+ 19. Kh1 Bg4 20. Rf1 Bh3 21. Rfb1 Bf5 22. a5 Qb7 23. a6 Qb6 24. Qxc4 Rg4
25. Qc6 Qxc6 26. dxc6 Bxb1 27. Rxb1 f6 28. Re1 Rb4 29. exf6 exf6 30. Ne4 Rxb2 31. Nxf6 Rf2 32. Nxh7 Rxf3 33. Nxf8 Rdxf8 34. Kg2 Rf2+ 35. Kg1 Rc2 36. h4 Rxc6 37. Ra1 Rf3 38. Kh2 Rg6 39. Rg1 Rxa6 40. h5 1-0

[Event "Computer Chess Game"]
[EventDate "?"]
[Site "QUADCORE-I5"]
[Date "2018.06.13"]
[Round "10"]
[White "Topple v0.0.3"]
[Black "Sayuri 2018.05.23"]
[Result "0-1"]
[TimeControl "40/120"]
[Annotator "1. +0.06 1... -0.56"]

1. e4 e5 2. Nf3 Nf6 3. Nc3 Nc6 4. d4 exd4 5. Nxd4 Bb4 6. Nxc6 bxc6 7. Bg5 h6 8. Be3 O-O 9. e5 Nd5 10. Qd4 d6 11. exd6 cxd6 12. O-O-O Nxc3 13. bxc3 Ba3+ 14. Kd2 Qa5 15. Re1 Be6 16. Bd3 Bxa2 17. Qg4 f5 18. Qg3 Rf7 19. Bxh6 Bb2 20. Kd1 Bxc3 21. Re2 Rb7 22. Bc1 Rb1 23. Re7 Bb2 24. Ke2 Rxc1
25. Rxc1 Kf8 26. Rb7 Re8+ 27. Kf1 Qd2 28. Rb1 Bf6 29. Qg6 a5 30. Rb8 Bf7 31. Qxf5 d5 32. Rxe8+ Bxe8 33. Re1 Qh6 34. Qe6 Qh5 35. Qd6+ Kg8 36. Qe6+ Kf8 37. c4 Qf7 38. cxd5 cxd5 39. Qxf7+ Kxf7 0-1

During implementation of both programs ("UCI-compatibility") into WinBoard Interface I used the option -debug, but I cannot see a special saved debug file of WinBoard 4.8.0 (like Arena and ChessGUI does). Why?

Regards,

Norbert
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Topple

Post by Guenther »

Norbert Raimund Leisner wrote: Wed Jun 13, 2018 2:27 pm During implementation of both programs ("UCI-compatibility") into WinBoard Interface I used the option -debug, but I cannot see a special saved debug file of WinBoard 4.8.0 (like Arena and ChessGUI does). Why?

Regards,

Norbert
'During implementation of both programs ("UCI-compatibility") into WinBoard Interface'...
No idea what you mean with the above sentence, probably you wanted to say installation instead of 'implementation'?

The debug option is set in the start dialogue (or as a flag in a batch file), but not as an engine option.
(BTW 4.80 is very old)

You can also set debugMode=true in the wb.ini but it is not persistent I believe.
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

Re: Topple

Post by konsolas »

Hi,

I've posted a new release which provides a binary without POPCNT for older systems, and also improves the time management in repeating time controls.

You can download it here: https://github.com/konsolas/ToppleChess ... tag/v0.0.4
Dann Corbit
Posts: 12538
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Topple

Post by Dann Corbit »

I must say that I really like your current code base.
When I see code that well written, I see success in your future.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Topple

Post by Guenther »

konsolas wrote: Thu Jun 14, 2018 12:15 pm Hi,

I've posted a new release which provides a binary without POPCNT for older systems, and also improves the time management in repeating time controls.

You can download it here: https://github.com/konsolas/ToppleChess ... tag/v0.0.4
Thanks for this one!
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

Re: Topple

Post by konsolas »

Topple v0.1.0 has been released with significant improvements to search and, as a result, significant improvements to strength.

Downloads can be found here: https://github.com/konsolas/ToppleChess ... tag/v0.1.0
Dann Corbit wrote: Thu Jun 14, 2018 8:34 pm I must say that I really like your current code base.
When I see code that well written, I see success in your future.
Thank you for your kind words :)
User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: Topple

Post by CMCanavessi »

konsolas wrote: Tue Jun 26, 2018 7:05 pm Topple v0.1.0 has been released with significant improvements to search and, as a result, significant improvements to strength.

Downloads can be found here: https://github.com/konsolas/ToppleChess ... tag/v0.1.0
Estimated elo?
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls
konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

Re: Topple

Post by konsolas »

CMCanavessi wrote: Tue Jun 26, 2018 8:54 pm
konsolas wrote: Tue Jun 26, 2018 7:05 pm Topple v0.1.0 has been released with significant improvements to search and, as a result, significant improvements to strength.

Downloads can be found here: https://github.com/konsolas/ToppleChess ... tag/v0.1.0
Estimated elo?
I don't have the resources to test Topple against a lot of other engines, so I don't really have a elo estimate, unfortunately.