Sapeli 1.0 - New chess engine

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
Roland Chastain
Posts: 368
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Sapeli 1.0 - New chess engine

Post by Roland Chastain » Tue Jan 14, 2020 10:05 am

Hello! I updated my "all versions" package (for Windows), after I found a way to build without dependency to cygwin1.dll. The package include 32 bits binaries, so maybe it can be useful to someone, in addition to the binaries offered by Günther.

I started from v1.17, since I couldn't compile the previous versions.

Regards.

Roland
Qui trop embrasse mal étreint.

JohnWoe
Posts: 184
Joined: Sat Mar 02, 2013 10:31 pm

Re: Sapeli 1.0 - New chess engine

Post by JohnWoe » Thu Jan 16, 2020 6:21 pm

Thanks for the builds!
Added them here: https://github.com/SamuraiDangyo/Sapeli ... naries/bin

I think 1.0 -> 1.17 were a bit messy code.

The latest version 1.69 is a lot easier to read. Made mgen much simpler. Much easier to read its code. Not published it yet. It's gonna be a little bit faster.

Edit:
Released: https://github.com/SamuraiDangyo/Sapeli ... /tag/v1.69
Source code: https://github.com/SamuraiDangyo/Sapeli

+ Slightly faster
+ Easier to read source code

Ras
Posts: 1410
Joined: Tue Aug 30, 2016 6:19 pm
Full name: Rasmus Althoff
Contact:

Re: Sapeli 1.0 - New chess engine

Post by Ras » Thu Jan 16, 2020 7:19 pm

The UCI spec says that "isready" must also be answered during search - but only "stop" is evaluated. This might make GUIs kill Sapeli because they may assume it is hanging.
Rasmus Althoff
https://www.ct800.net

User avatar
Roland Chastain
Posts: 368
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Sapeli 1.0 - New chess engine

Post by Roland Chastain » Thu Jan 16, 2020 7:34 pm

JohnWoe wrote:
Thu Jan 16, 2020 6:21 pm
Thanks for the builds!
Added them here: https://github.com/SamuraiDangyo/Sapeli ... naries/bin
You're welcome. Maybe you could make some cleaning in your bin directory (that is, delete the previous versions of my package)? And by the way, it isn't really important, but my first name is Roland, and not Ronald. :)

I will update the package tonight, to include v1.69. The link will be the same.[edit] Done.[/edit]
Qui trop embrasse mal étreint.

Guenther
Posts: 3334
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Sapeli 1.0 - New chess engine

Post by Guenther » Fri Jan 17, 2020 9:18 am

JohnWoe wrote:
Thu Jan 16, 2020 6:21 pm
...
The latest version 1.69 is a lot easier to read. Made mgen much simpler. Much easier to read its code. Not published it yet. It's gonna be a little bit faster.

Edit:
Released: https://github.com/SamuraiDangyo/Sapeli ... /tag/v1.69
Source code: https://github.com/SamuraiDangyo/Sapeli

+ Slightly faster
+ Easier to read source code
Updated my compilations too.
http://rwbc-chess.de/download.htm
https://rwbc-chess.de
Greg Strong@ovyron wrote: What I think is that you have a very, very, VERY strong desire to post, and very little self-control.
All the time. In every conversation. You must post. Something. It's like you just can't help yourself.

JohnWoe
Posts: 184
Joined: Sat Mar 02, 2013 10:31 pm

Re: Sapeli 1.0 - New chess engine

Post by JohnWoe » Fri Jan 17, 2020 11:21 am

Ras wrote:
Thu Jan 16, 2020 7:19 pm
The UCI spec says that "isready" must also be answered during search - but only "stop" is evaluated. This might make GUIs kill Sapeli because they may assume it is hanging.
Thanks! I didn't know that. Fixed.
Roland Chastain wrote:
Thu Jan 16, 2020 7:34 pm
JohnWoe wrote:
Thu Jan 16, 2020 6:21 pm
Thanks for the builds!
Added them here: https://github.com/SamuraiDangyo/Sapeli ... naries/bin
You're welcome. Maybe you could make some cleaning in your bin directory (that is, delete the previous versions of my package)? And by the way, it isn't really important, but my first name is Roland, and not Ronald. :)

I will update the package tonight, to include v1.69. The link will be the same.[edit] Done.[/edit]
My bad. :oops: Fixed.

Been testing against Stockfish that there's no illegal activity in 40/1s Chess960 games. Sometimes Sapeli even scores a win against the latest Stockfish.


Of course Stockfish kills Sapeli in the long run :P

Code: Select all

Score of Sapeli 1.70 vs Stockfish 160120 64: 4 - 523 - 3  [0.010] 530
Elo difference: -791.75 +/- 179.03
Finished match

User avatar
Roland Chastain
Posts: 368
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Sapeli 1.0 - New chess engine

Post by Roland Chastain » Sat Jan 18, 2020 6:01 am

JohnWoe wrote:
Fri Jan 17, 2020 11:21 am
My bad. :oops: Fixed.
My main preoccupation wasn't relative to the spelling of my name, but to the many packages including the same files. As I provide to you an updated ZIP archive with all the versions, it doesn't seem useful to keep the previous versions of the package. But, of course, it's up to you. :wink:
Qui trop embrasse mal étreint.

JohnWoe
Posts: 184
Joined: Sat Mar 02, 2013 10:31 pm

Re: Sapeli 1.0 - New chess engine

Post by JohnWoe » Fri Jan 24, 2020 9:14 am

I decided to publish Sapeli 1.70

Release: https://github.com/SamuraiDangyo/Sapeli ... /tag/v1.70
Master: https://github.com/SamuraiDangyo/Sapeli

Changes:
Removed dev branch.
Some bug fixes + cleanups + speedups.
data.h -> Can be modified by users.
consts.h -> Can't be. Sapeli will crash if you do.
Improved code so it's easier to read.

1+0.01 960. Against SF 11. No time losses / illegal moves / crashes. Score is pretty bad tho :P
Summary: https://github.com/SamuraiDangyo/bins/b ... _11_64.txt

Code: Select all

Score of Sapeli 1.70 vs Stockfish 11 64: 14 - 980 - 6  [0.017] 1000
Elo difference: -704.84 +/- 85.33
Finished match
I wanted to add ponder to this version. But the UCI spec is so awful I decided not to implement it here. The only pondering Sapeli (source code) is found here: https://github.com/SamuraiDangyo/Sapeli ... ponder.zip

Guenther
Posts: 3334
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Sapeli 1.0 - New chess engine

Post by Guenther » Fri Jan 31, 2020 5:09 pm

I have omitted 1.70 by accident and already uploaded 1.71 (though not released by yourself).
BTW I have created a single download now, which contains all my compilations.

Due to server migration it might take some time until it is reachable from the new server.
(still directing to the old IP here, despite request was sent 6 hours ago and TTL was announced as 4 hours...)

Edit:
While writing this it finally worked ;-)
https://rwbc-chess.de
Greg Strong@ovyron wrote: What I think is that you have a very, very, VERY strong desire to post, and very little self-control.
All the time. In every conversation. You must post. Something. It's like you just can't help yourself.

JohnWoe
Posts: 184
Joined: Sat Mar 02, 2013 10:31 pm

Re: Sapeli 1.0 - New chess engine

Post by JohnWoe » Sat Feb 01, 2020 7:44 pm

Thanks for the builds!
Added them here: https://github.com/SamuraiDangyo/Sapeli ... ersions.7z

Yes, I never released 1.71. But it is pretty much the same as 1.70. I added a few const modifiers and documented the code. So it is pretty the same as 1.70. I'll move to 1.72 in the future.

I'm pretty happy with 1.71 atm. On my laptop I got bench 6.6M NPS. I have never seen so high numbers. Seems to have no problems converting KNBK and KQKR into wins. This increased speed seems to help as Sapeli can complete higher depths. Especially in endgames.

I also uploaded some .epd here if anybody finds them useful. I sometimes run these through Sapeli:

WAC: https://github.com/SamuraiDangyo/bins/b ... er/wac.epd
Silver 201 test suite: https://github.com/SamuraiDangyo/bins/b ... er_wac.epd
Bratko-Kopec test suite: https://github.com/SamuraiDangyo/bins/b ... -suite.epd
Colditz-test suite: https://github.com/SamuraiDangyo/bins/b ... -suite.epd
Hard-Talkchess-2020-set: https://github.com/SamuraiDangyo/bins/b ... 20-set.epd

Post Reply