Cheese 3.0

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

Moderator: Ras

Patrice Duhamel
Posts: 203
Joined: Sat May 25, 2013 11:17 am
Location: France
Full name: Patrice Duhamel

Cheese 3.0

Post by Patrice Duhamel »

Cheese 3.0 is available here :

http://cheesechess.free.fr/en/download.html

- add Lazy SMP
- add Syzygy tablebases support (maximum 6 mens)
- use Polyglot opening book format
- support PEXT instruction for magic bitboards
- add UCI hashfull and tbhits informations
- use the program main thread for inputs
- change PST tables
- change pawn shield values
- rewrite passed pawns evaluation
- don't prune advanced pawns push
- change LMR parameters
- fix problems in YBWC
- fix bug in KPK endgame
- fix bug with trapped pieces evaluation
- fix problem in SEE
- fix problem with maximum gamephase
- modernize code, from C++03 to C++17
- code refactoring and simplifications
- add unit tests (using GTest)
- release source code

Code: Select all

	Rank Name           Elo    +    - games score oppo. draws 
   1 Cheese-30-64    21    4    4 10000   57%   -21   38% 
   2 Cheese-22-64   -21    4    4 10000   43%    21   38% 
I finally released Cheese source code :

https://gitlab.com/cheesechess/cheese

I know there are a lot of things to improve in my code, and if you have some advices on C++, chess engine programming, or if you find bugs or anything related to this project, please contact me.

I was not able to compile the PEXT version, because I have an old computer (i5 2500k) and it's currently difficult to change it.
Now I can't compile Mac OS version, and I don't know how to cross compile Android and Raspberry PI versions with recent compilers/toolchains.

YBWC is still used by default in this version, but you can use Lazy SMP by changing "SMPMode" option.
I have a 4 cores CPU, and I'm not sure Lazy SMP works as expected, I will appreciate if someone could run some games to compare 2/4/8, maybe 16 threads, between the YBWC and Lazy SMP mode.

Happy Christmas and end of year celebrations. :)
Anything that can go wrong will go wrong.
Frank Quisinsky
Posts: 7285
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

Re: Cheese 3.0

Post by Frank Quisinsky »

Hi Patrice,

link (for windows download file) goes to v2.2.

Thank you for your new version!!

Best
Frank
Patrice Duhamel
Posts: 203
Joined: Sat May 25, 2013 11:17 am
Location: France
Full name: Patrice Duhamel

Re: Cheese 3.0

Post by Patrice Duhamel »

Thanks, I fixed it, you need to reload the page.
Anything that can go wrong will go wrong.
Frank Quisinsky
Posts: 7285
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

Re: Cheese 3.0

Post by Frank Quisinsky »

Works fine, thank you!
User avatar
Roland Chastain
Posts: 701
Joined: Sat Jun 08, 2013 10:07 am
Location: France
Full name: Roland Chastain

Re: Cheese 3.0

Post by Roland Chastain »

Hello Patrice!
Patrice Duhamel wrote: Sat Dec 18, 2021 1:37 pm Cheese 3.0 is available here :
Good news!
Patrice Duhamel wrote: Sat Dec 18, 2021 1:37 pm I finally released Cheese source code :

https://gitlab.com/cheesechess/cheese
Great! Thank you. Compilation successful here, on Linux Mageia. 8-)

Can't wait to put my nose in the code.
Patrice Duhamel wrote: Sat Dec 18, 2021 1:37 pm Happy Christmas and end of year celebrations. :)
Merry Christmas to you.
Qui trop embrasse mal étreint.

Author of Eschecs, a simple UCI chess GUI written in Pascal.
Guenther
Posts: 4718
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Cheese 3.0

Post by Guenther »

Patrice Duhamel wrote: Sat Dec 18, 2021 1:37 pm Cheese 3.0 is available here :

http://cheesechess.free.fr/en/download.html
...

I finally released Cheese source code :

https://gitlab.com/cheesechess/cheese

...

Happy Christmas and end of year celebrations. :)
Thanks for the new release! I have added the SYZ info and the source link to the chronology.
I see also that it is named 'officially' now with 2 digits in the version unlike in the past?

Happy christmas for you too :)
https://rwbc-chess.de

[Trolls n'existent pas...]
Patrice Duhamel
Posts: 203
Joined: Sat May 25, 2013 11:17 am
Location: France
Full name: Patrice Duhamel

Re: Cheese 3.0

Post by Patrice Duhamel »

Guenther wrote: Sat Dec 18, 2021 2:37 pm I see also that it is named 'officially' now with 2 digits in the version unlike in the past?
Yes, I don't know if it's better, the idea is to use the 2nd digit for small releases / bugfix.
Anything that can go wrong will go wrong.
bastiball
Posts: 5372
Joined: Tue Oct 20, 2020 4:18 am
Full name: Basti Dangca

Re: Cheese 3.0

Post by bastiball »

Patrice Duhamel wrote: Sat Dec 18, 2021 1:37 pm Cheese 3.0 is available here :

http://cheesechess.free.fr/en/download.html

- add Lazy SMP
- add Syzygy tablebases support (maximum 6 mens)
- use Polyglot opening book format
- support PEXT instruction for magic bitboards
- add UCI hashfull and tbhits informations
- use the program main thread for inputs
- change PST tables
- change pawn shield values
- rewrite passed pawns evaluation
- don't prune advanced pawns push
- change LMR parameters
- fix problems in YBWC
- fix bug in KPK endgame
- fix bug with trapped pieces evaluation
- fix problem in SEE
- fix problem with maximum gamephase
- modernize code, from C++03 to C++17
- code refactoring and simplifications
- add unit tests (using GTest)
- release source code

Code: Select all

	Rank Name           Elo    +    - games score oppo. draws 
   1 Cheese-30-64    21    4    4 10000   57%   -21   38% 
   2 Cheese-22-64   -21    4    4 10000   43%    21   38% 
I finally released Cheese source code :

https://gitlab.com/cheesechess/cheese

I know there are a lot of things to improve in my code, and if you have some advices on C++, chess engine programming, or if you find bugs or anything related to this project, please contact me.

I was not able to compile the PEXT version, because I have an old computer (i5 2500k) and it's currently difficult to change it.
Now I can't compile Mac OS version, and I don't know how to cross compile Android and Raspberry PI versions with recent compilers/toolchains.

YBWC is still used by default in this version, but you can use Lazy SMP by changing "SMPMode" option.
I have a 4 cores CPU, and I'm not sure Lazy SMP works as expected, I will appreciate if someone could run some games to compare 2/4/8, maybe 16 threads, between the YBWC and Lazy SMP mode.

Happy Christmas and end of year celebrations. :)
Congrats for the release! Merry Christmas and Happy New Year! Goodluck for the future development!
Basti Dangca
CCRL testing group
Wolfgang
Posts: 989
Joined: Sat May 13, 2006 1:08 am

Re: Cheese 3.0

Post by Wolfgang »

Best
Wolfgang
CEGT-Team
www.cegt.net
www.cegt.forumieren.com
Patrice Duhamel
Posts: 203
Joined: Sat May 25, 2013 11:17 am
Location: France
Full name: Patrice Duhamel

Re: Cheese 3.0

Post by Patrice Duhamel »

I released a new version to fix few problems :
http://cheesechess.free.fr/en/index.html

Code: Select all

- fix SMP mode initialization for more than 64 threads
- fix FRC castling initialization in FEN parsing
- fix best thread choice in Lazy SMP
- fix uninitialized variables in benchmark
Anything that can go wrong will go wrong.