Discussion of anything and everything relating to chess playing software and machines.
Moderators: hgm, Dann Corbit, Harvey Williamson
Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
-
konsolas
- Posts: 182
- Joined: Sun Jun 12, 2016 3:44 pm
- Location: London
- Full name: Vincent
-
Contact:
Post
by konsolas » Tue Jan 08, 2019 9:03 pm
It's been a long while since I last updated Topple, but I've finally rewritten the evaluation and implemented Texel tuning with a simple linear search: self play shows an elo gain of about +150.
The release can be found here:
https://github.com/konsolas/ToppleChess ... tag/v0.3.0
I've provided 3 builds for windows, but it should be easy to build from source on Linux and macOS with CMake (you may need to remove the -static flag for clang on MacOS to work).
It would be awesome to find out how the new Topple performs against other engines

-
Graham Banks
- Posts: 35064
- Joined: Sun Feb 26, 2006 9:52 am
- Location: Auckland, NZ
Post
by Graham Banks » Tue Jan 08, 2019 9:08 pm
Wow! Nice improvement.

gbanksnz at gmail.com
-
CMCanavessi
- Posts: 930
- Joined: Thu Dec 28, 2017 3:06 pm
- Location: Argentina
Post
by CMCanavessi » Tue Jan 08, 2019 11:46 pm
Nice! I'll run a gauntlet in a couple of days.
-
Scally
- Posts: 145
- Joined: Thu Sep 28, 2017 7:34 pm
- Location: Bermondsey, London
- Full name: Alan Cooper
-
Contact:
Post
by Scally » Wed Jan 09, 2019 7:12 pm
Thanks, however I can’t compile it on a raspberry pi as cmake is at version 3.7.2 and your engine requires 3.8 or higher.
I’ve tried updating it, to no avail.
Al.
-
konsolas
- Posts: 182
- Joined: Sun Jun 12, 2016 3:44 pm
- Location: London
- Full name: Vincent
-
Contact:
Post
by konsolas » Wed Jan 09, 2019 7:35 pm
Scally wrote: ↑Wed Jan 09, 2019 7:12 pm
Thanks, however I can’t compile it on a raspberry pi as cmake is at version 3.7.2 and your engine requires 3.8 or higher.
I’ve tried updating it, to no avail.
Al.
Could you try changing cmake_minimum_required from 3.8 to 3.7 at the top of CMakeLists.txt? I don't think I'm using any CMake 3.8 specific features at the moment.
-
Scally
- Posts: 145
- Joined: Thu Sep 28, 2017 7:34 pm
- Location: Bermondsey, London
- Full name: Alan Cooper
-
Contact:
Post
by Scally » Wed Jan 09, 2019 9:26 pm
Hi,
Yes that created a Makefile but I get pages of errors on make. (Linux Raspberry Pi)
Are there any windows specific options that I need to take out anywhere?
Thanks,
Al.
-
konsolas
- Posts: 182
- Joined: Sun Jun 12, 2016 3:44 pm
- Location: London
- Full name: Vincent
-
Contact:
Post
by konsolas » Wed Jan 09, 2019 10:10 pm
Scally wrote: ↑Wed Jan 09, 2019 9:26 pm
Hi,
Yes that created a Makefile but I get pages of errors on make. (Linux Raspberry Pi)
Are there any windows specific options that I need to take out anywhere?
Thanks,
Al.
The code is mostly platform independent, with the exception of some functions in bb.h (see namespace bb_intrin), which has preprocessor directives to select POPCNT and bitscan intrinsics, depending on which compiler is being used. Perhaps they are not available on raspberry pi?
-
MikeB
- Posts: 4624
- Joined: Thu Mar 09, 2006 5:34 am
- Location: Pen Argyl, Pennsylvania
Post
by MikeB » Wed Jan 09, 2019 10:28 pm
Scally wrote: ↑Wed Jan 09, 2019 9:26 pm
Hi,
Yes that created a Makefile but I get pages of errors on make. (Linux Raspberry Pi)
Are there any windows specific options that I need to take out anywhere?
Thanks,
Al.
Al - try this (the two steps below after the $ sign) , using this CMakeLists.txt - did not test the Pi , but it worked on Mac
Code: Select all
Mac-Pro:ToppleChess-0.3-2.0 xxxx$ cmake -H. -Bbuild
Mac-Pro:ToppleChess-0.3-2.0 xxxx$ cmake --build build -- -j3
-
Attachments
-
- CMakeLists.txt.zip
- (1.13 KiB) Downloaded 46 times
-
Scally
- Posts: 145
- Joined: Thu Sep 28, 2017 7:34 pm
- Location: Bermondsey, London
- Full name: Alan Cooper
-
Contact:
Post
by Scally » Thu Jan 10, 2019 11:11 am
Hi Michael,
Thanks for the suggestions but I’m still getting pages or errors.
Could you try it on your RPi please?
Thanks,
Al.