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: 298
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

JohnWoe
Posts: 124
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: 1169
Joined: Tue Aug 30, 2016 6:19 pm
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: 298
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]

User avatar
Guenther
Posts: 3219
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

JohnWoe
Posts: 124
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: 298
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:

JohnWoe
Posts: 124
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

Post Reply