Maxwell Chess Engine

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

Moderator: Ras

User avatar
eboatwright
Posts: 41
Joined: Tue Jan 09, 2024 8:38 pm
Full name: E Boatwright

Re: Maxwell Chess Engine

Post by eboatwright »

mvanthoor wrote: Thu Jan 18, 2024 10:45 pm That explains why me trying didn't work. Still, if something is typed into the command-line the engine can't or shouldn't handle, it should either ignore it, or provide an "error string <message>"; crashing is... uh.... not optimal.
haha yeahh :oops:
I'd go for the modulo method and remove aging, and see that you can be sure that the hash-table is bug-free. It should add somewhere between 130 and 160 Elo points in self-play. (A bit less in a gauntlet, because self-play always over-estimates.) Then add a UCI-option, so CuteChess can actually be used to set the hash size. It's not fair if your engine has a fixed size; if it has more hash table space than its opponents it has an advantage; if it has less, it has a disadvantage.
Oh yeah that's 100% true, It'd make it easier for tournament organizers as well

Thanks again for all the tips!
Creator of Maxwell
User avatar
eboatwright
Posts: 41
Joined: Tue Jan 09, 2024 8:38 pm
Full name: E Boatwright

Re: Maxwell Chess Engine

Post by eboatwright »

mvanthoor wrote: Thu Jan 18, 2024 10:46 pm I'd go for the modulo method and remove aging, and see that you can be sure that the hash-table is bug-free. It should add somewhere between 130 and 160 Elo points in self-play. (A bit less in a gauntlet, because self-play always over-estimates.) Then add a UCI-option, so CuteChess can actually be used to set the hash size. It's not fair if your engine has a fixed size; if it has more hash table space than its opponents it has an advantage; if it has less, it has a disadvantage. You can obviously test the difference by adding the hash table as the only new feature and then self-playing against the previous version.

Hello,
so over the past few days I've been re-writing the TT to use the modulo method, but I've actually had a drop in playing strength, if it's not too much to ask, could you have a look and see if I did something wrong?

I made a thread on the technical forum here:
viewtopic.php?f=7&t=83222&sid=eea65b04d ... e715b9e069

And the entire codebase is here if you need more context:
https://github.com/eboatwright/maxwell
Creator of Maxwell
User avatar
eboatwright
Posts: 41
Joined: Tue Jan 09, 2024 8:38 pm
Full name: E Boatwright

Re: Maxwell Chess Engine

Post by eboatwright »

Maxwell v3.0.8 (Patch 2) has been released, this fixes a very crucial bug where under specific circumstances, it would try to castle when it was illegal :mrgreen:

https://github.com/eboatwright/maxwell/ ... g/v3.0.8-2

I've also been making huge progress on v3.1, I ran a test the other day and it scored an estimated +160 Elo! (In self-play)
Creator of Maxwell
User avatar
eboatwright
Posts: 41
Joined: Tue Jan 09, 2024 8:38 pm
Full name: E Boatwright

Re: Maxwell Chess Engine

Post by eboatwright »

Maxwell v3.1 is out!!
https://github.com/eboatwright/Maxwell/ ... s/tag/v3.1

Test results vs v3.0.8-2

Code: Select all

Maxwell v3.1 vs Maxwell v3.0.8 (Patch 2): 1533 - 155 - 312
Elo difference: 293.9 +/- 17.6, LOS: 100.0 %
Creator of Maxwell
User avatar
Dariusz
Posts: 379
Joined: Sat Jun 13, 2015 10:08 am
Location: Poland
Full name: Dariusz Domagała

Re: Maxwell Chess Engine

Post by Dariusz »

eboatwright wrote: Tue Feb 13, 2024 4:36 pm Maxwell v3.1 is out!!
https://github.com/eboatwright/Maxwell/ ... s/tag/v3.1

Test results vs v3.0.8-2

Code: Select all

Maxwell v3.1 vs Maxwell v3.0.8 (Patch 2): 1533 - 155 - 312
Elo difference: 293.9 +/- 17.6, LOS: 100.0 %
Excellent news today :)
I will definitely include Maxwell 3.1 in the MCERL competition.
Regards, Darius
https://chessengeria.eu
User avatar
eboatwright
Posts: 41
Joined: Tue Jan 09, 2024 8:38 pm
Full name: E Boatwright

Re: Maxwell Chess Engine

Post by eboatwright »

Dariusz wrote: Tue Feb 13, 2024 5:58 pm
eboatwright wrote: Tue Feb 13, 2024 4:36 pm Maxwell v3.1 is out!!
https://github.com/eboatwright/Maxwell/ ... s/tag/v3.1

Test results vs v3.0.8-2

Code: Select all

Maxwell v3.1 vs Maxwell v3.0.8 (Patch 2): 1533 - 155 - 312
Elo difference: 293.9 +/- 17.6, LOS: 100.0 %
Excellent news today :)
I will definitely include Maxwell 3.1 in the MCERL competition.
Thanks! I look forward to seeing the results :D
Creator of Maxwell
User avatar
eboatwright
Posts: 41
Joined: Tue Jan 09, 2024 8:38 pm
Full name: E Boatwright

Re: Maxwell Chess Engine

Post by eboatwright »

There's gotta be a running joke that you only find bugs after you make a major release, and here it is :mrgreen:
This patch fixes a bug where the engine would crash if the Hash size was set to 0 MB

https://github.com/eboatwright/Maxwell/ ... tag/v3.1-1
Creator of Maxwell
User avatar
eboatwright
Posts: 41
Joined: Tue Jan 09, 2024 8:38 pm
Full name: E Boatwright

Re: Maxwell Chess Engine

Post by eboatwright »

New Maxwell patch!
This patch implements the UCI "info" command
Creator of Maxwell