Discuss Scratch

ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

birdracerthree wrote:

ArnoHu wrote:

S_P_A_R_T wrote:

White Dove's strange S3 bug has finally been found!

Due to the terrible S3 speed, and a minor code oversight that never caused any problems during TW, WD was actually so slow, that it didn't even finish evaluating the FIRST move of the lowest depth!

This was caused by the enormous amount of extensions, which sometimes caused WD to get to ply-8 (on Scratch 3!). This removed all performance during more tactical lines.

The new version should hopefully fix this, improve the opening book, and tweak some evaluation parameters.

Though this will take some time, I'm pretty confident this will have a massive impact on WDs S3 performance, so I want to make sure I do it right

(Also @ArnoHu , can you turn on exporting & eval in the study, as this makes it much easier to test & debug, thanks!)

Great to hear! Does this also cover the disappearing pieces? I have activated export and analysis for members, which as far as I understand means you only have to be logged in. I had run too many analysis yesterday and reached my daily quota.

I let White Dove and GoK play one more match on S3, and it was great to watch (91% vs. 97% accuracy)! Nice level for two engines running at 15 and 10 seconds think time: https://lichess.org/study/v3EKTlR2/w693R8Ri . White Dove will certainly move up the ranks quickly to a position where it belongs.

Funny details about lichess analysis, when importing PGN, lichess showed 3 resp. 1 blunders. But when loading the same PGN into the study, those blunders were downgraded to inaccuracies, white the overall accuracy nearly staying the same. Different SF search depth I guess?
Activating a setting for “members” means that you have to invite someone to be a member of the study. As for the blunder issue, that was most likely caused by inconsistent checkmating blunder assignments to specific moves.

Edit : 3000 posts!

OK, will do so if you tell me your lichess user names…
S_P_A_R_T
Scratcher
500+ posts

Scratch Chess Engine - Game of Kings

SPSplaysChess

(Also, a rough patch for the S3 bug on WD has been rolled out.)

Check out Space Program Simulator!





In it, you can build your own rockets from a variety of parts!
Then fly it with realistic orbital mechanics.

Go to orbit, explore different planets, share your save codes, and do so much more!

If you would like to help out on the project or chat about space or really anything else, check out the offical SPS Studio!

For more information & tutorials, check out the offical forum post!

birdracerthree
Scratcher
500+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

S_P_A_R_T wrote:

White Dove's strange S3 bug has finally been found!

Due to the terrible S3 speed, and a minor code oversight that never caused any problems during TW, WD was actually so slow, that it didn't even finish evaluating the FIRST move of the lowest depth!

This was caused by the enormous amount of extensions, which sometimes caused WD to get to ply-8 (on Scratch 3!). This removed all performance during more tactical lines.

The new version should hopefully fix this, improve the opening book, and tweak some evaluation parameters.

Though this will take some time, I'm pretty confident this will have a massive impact on WDs S3 performance, so I want to make sure I do it right

(Also @ArnoHu , can you turn on exporting & eval in the study, as this makes it much easier to test & debug, thanks!)

Great to hear! Does this also cover the disappearing pieces? I have activated export and analysis for members, which as far as I understand means you only have to be logged in. I had run too many analysis yesterday and reached my daily quota.

I let White Dove and GoK play one more match on S3, and it was great to watch (91% vs. 97% accuracy)! Nice level for two engines running at 15 and 10 seconds think time: https://lichess.org/study/v3EKTlR2/w693R8Ri . White Dove will certainly move up the ranks quickly to a position where it belongs.

Funny details about lichess analysis, when importing PGN, lichess showed 3 resp. 1 blunders. But when loading the same PGN into the study, those blunders were downgraded to inaccuracies, white the overall accuracy nearly staying the same. Different SF search depth I guess?
Activating a setting for “members” means that you have to invite someone to be a member of the study. As for the blunder issue, that was most likely caused by inconsistent checkmating blunder assignments to specific moves.

Edit : 3000 posts!

OK, will do so if you tell me your lichess user names…
birdracerthree : Chess_Racer
S_P_A_R_T : SPSPlaysChess
HasiLover : HasiLover
Scratch_Chess_Champion : Chess_Pawn_Idiot, IndigoStars, GoK-Blitz
HasiLover
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

Shallow Blue(5 Ply) and Scurious 2(5 Ply) just played a 60% accuracy Game: https://lichess.org/O4F8h19L#172
ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

New White Dove version on the rise!

I will let Scurious play some more games, it just ran into some check-related issues lately (like moving pinned pieces)…

Rank	Name		Elo	+	-	games	score	oppo.	draws
1 GoK 1785 153 153 22 100% 6 0%
2 Element 1732 284 284 3 67% 198 0%
3 Bonsai 1629 175 175 10 60% 126 0%
4 White Dove 1531 185 185 9 44% 123 0%
5 Archimedes 1493 171 171 10 50% 78 20%
6 Shallow Blue 1451 234 234 4 50% 21 0%
7 The Turk 1432 224 224 7 29% 121 0%
8 HarleyK 1429 284 284 4 25% 168 0%
9 LowDoor 1409 226 226 5 40% 37 0%
10 Frenchgamerlol 1407 249 249 4 38% 37 25%
11 Chip 1399 213 213 6 25% 87 17%
12 Pseudo 1383 361 361 2 0% 168 0%
13 Scurious 1381 216 216 4 50% -57 50%
14 Wolverine 1363 360 360 3 0% 209 0%
15 U0 1327 380 380 2 0% 147 0%
16 Mystery 1274 313 313 3 0% 90 0%
17 Midecah 1229 301 301 4 0% 73 0%
ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

New White Dove version on the rise!

I will let Scurious play some more games, it just ran into some check-related issues lately (like moving pinned pieces)…

Rank	Name		Elo	+	-	games	score	oppo.	draws
1 GoK 1785 153 153 22 100% 6 0%
2 Element 1732 284 284 3 67% 198 0%
3 Bonsai 1629 175 175 10 60% 126 0%
4 White Dove 1531 185 185 9 44% 123 0%
5 Archimedes 1493 171 171 10 50% 78 20%
6 Shallow Blue 1451 234 234 4 50% 21 0%
7 The Turk 1432 224 224 7 29% 121 0%
8 HarleyK 1429 284 284 4 25% 168 0%
9 LowDoor 1409 226 226 5 40% 37 0%
10 Frenchgamerlol 1407 249 249 4 38% 37 25%
11 Chip 1399 213 213 6 25% 87 17%
12 Pseudo 1383 361 361 2 0% 168 0%
13 Scurious 1381 216 216 4 50% -57 50%
14 Wolverine 1363 360 360 3 0% 209 0%
15 U0 1327 380 380 2 0% 147 0%
16 Mystery 1274 313 313 3 0% 90 0%
17 Midecah 1229 301 301 4 0% 73 0%

Another stalemate produced by Scurious when it could checkmate in 2. As this is repeating itself, I will stop until it is fixed.
wolfslayer9000
Scratcher
59 posts

Scratch Chess Engine - Game of Kings

Hi everyone I love chess

Hello! My name is wolfslayer9000! My real name is Caleb! My zodiac sign is Cancer!♋
ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

birdracerthree I think you have to follow me, so I can make you member…
HasiLover
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

ArnoHu wrote:

New White Dove version on the rise!

I will let Scurious play some more games, it just ran into some check-related issues lately (like moving pinned pieces)…

Rank	Name		Elo	+	-	games	score	oppo.	draws
1 GoK 1785 153 153 22 100% 6 0%
2 Element 1732 284 284 3 67% 198 0%
3 Bonsai 1629 175 175 10 60% 126 0%
4 White Dove 1531 185 185 9 44% 123 0%
5 Archimedes 1493 171 171 10 50% 78 20%
6 Shallow Blue 1451 234 234 4 50% 21 0%
7 The Turk 1432 224 224 7 29% 121 0%
8 HarleyK 1429 284 284 4 25% 168 0%
9 LowDoor 1409 226 226 5 40% 37 0%
10 Frenchgamerlol 1407 249 249 4 38% 37 25%
11 Chip 1399 213 213 6 25% 87 17%
12 Pseudo 1383 361 361 2 0% 168 0%
13 Scurious 1381 216 216 4 50% -57 50%
14 Wolverine 1363 360 360 3 0% 209 0%
15 U0 1327 380 380 2 0% 147 0%
16 Mystery 1274 313 313 3 0% 90 0%
17 Midecah 1229 301 301 4 0% 73 0%

Another stalemate produced by Scurious when it could checkmate in 2. As this is repeating itself, I will stop until it is fixed.
Th thing is Scurious doesnt have any Stalemate detection, so it thinks it wins the Knig anywhere the King Moves.
birdracerthree
Scratcher
500+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

birdracerthree I think you have to follow me, so I can make you member…
You have disabled following on your lichess account
I don't think you have to follow someone to be added to a study, but I could be wrong. Was there a message that indicated this?

Last edited by birdracerthree (March 25, 2024 19:53:10)

ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

birdracerthree wrote:

ArnoHu wrote:

birdracerthree I think you have to follow me, so I can make you member…
You have disabled following on your lichess account
I don't think you have to follow someone to be added to a study, but I could be wrong. Was there a message that indicated this?

Enabled followers.

it is specific to your settings, I could add all others. It says I can only add you if you follow me.
birdracerthree
Scratcher
500+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree I think you have to follow me, so I can make you member…
You have disabled following on your lichess account
I don't think you have to follow someone to be added to a study, but I could be wrong. Was there a message that indicated this?

Enabled followers.

it is specific to your settings, I could add all others. It says I can only add you if you follow me.
Ah, you are right. I didn’t know that was a setting. I’m following you now
ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

birdracerthree wrote:

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree I think you have to follow me, so I can make you member…
You have disabled following on your lichess account
I don't think you have to follow someone to be added to a study, but I could be wrong. Was there a message that indicated this?

Enabled followers.

it is specific to your settings, I could add all others. It says I can only add you if you follow me.
Ah, you are right. I didn’t know that was a setting. I’m following you now

Done!

Element 3+8 was clearly leading against GoK in this S3 game, after two search-horizon-related blunders by GoK: https://lichess.org/study/v3EKTlR2
birdracerthree
Scratcher
500+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree I think you have to follow me, so I can make you member…
You have disabled following on your lichess account
I don't think you have to follow someone to be added to a study, but I could be wrong. Was there a message that indicated this?

Enabled followers.

it is specific to your settings, I could add all others. It says I can only add you if you follow me.
Ah, you are right. I didn’t know that was a setting. I’m following you now

Done!

Element 3+8 was clearly leading against GoK in this S3 game, after two search-horizon-related blunders by GoK: https://lichess.org/study/v3EKTlR2
Wow, I think Element will eventually beat GoK on Scratch 3 runtime (at least for one game). I don’t know how Element found Nd6 on depth 3…

Check extensions would help a lot, but I have to get the TTable working first. The mate evaluations aren’t working. Do they need to be stored with a different depth/horizon?

Edit : I checked the evaluation after Nd6. It was most likely luck (Element eval is +0.53.66… in favor of white)

Last edited by birdracerthree (March 26, 2024 02:26:59)

key-lock
Scratcher
19 posts

Scratch Chess Engine - Game of Kings

my old lichess account got deleted, but my new one is key-lockPlaysChess

█▄▀ █▀▀ █▄█ █░░ █▀█ █▀▀ █▄▀
█░█ ██▄ ░█░ █▄▄ █▄█ █▄▄ █░█

when I receive [question v]
repeat until <(answer) = (correct answer)>
think (answer)
end
add (answer) to [forum v]

hi! i'm key-lock, I hope this forum post helped. I enjoy math, coding, and playing chess
check my projects out here
ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

birdracerthree wrote:

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree I think you have to follow me, so I can make you member…
You have disabled following on your lichess account
I don't think you have to follow someone to be added to a study, but I could be wrong. Was there a message that indicated this?

Enabled followers.

it is specific to your settings, I could add all others. It says I can only add you if you follow me.
Ah, you are right. I didn’t know that was a setting. I’m following you now

Done!

Element 3+8 was clearly leading against GoK in this S3 game, after two search-horizon-related blunders by GoK: https://lichess.org/study/v3EKTlR2
Wow, I think Element will eventually beat GoK on Scratch 3 runtime (at least for one game). I don’t know how Element found Nd6 on depth 3…

Check extensions would help a lot, but I have to get the TTable working first. The mate evaluations aren’t working. Do they need to be stored with a different depth/horizon?

Edit : I checked the evaluation after Nd6. It was most likely luck (Element eval is +0.53.66… in favor of white)

Thanks, yes you are right, it is always good to verify not only the move but also the associated evaluation. So I am a bit relieved Because the capture of the bishop happens only 4 moves after Nd6 and should be seen at ply3 due to quiescence, but GoK only sees it at ply5 resp. 7 seconds after Nd6. There must be an alternative sequence that takes longer until it fails. GoK as black finds Nd6 at ply4 though, but sees its real effect at ply5 and 12 seconds, first I thought LMR triggers the different depths, but (nearly) same results after disabling it, so there should be an alternative sequence.

About mate evals in TT, I think we talked about it before - I only store those for non-quiescence TT nodes.

Last edited by ArnoHu (March 26, 2024 02:48:53)

birdracerthree
Scratcher
500+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree I think you have to follow me, so I can make you member…
*snip*
*snip*.
*snip*

Done!

Element 3+8 was clearly leading against GoK in this S3 game, after two search-horizon-related blunders by GoK: https://lichess.org/study/v3EKTlR2
Wow, I think Element will eventually beat GoK on Scratch 3 runtime (at least for one game). I don’t know how Element found Nd6 on depth 3…

Check extensions would help a lot, but I have to get the TTable working first. The mate evaluations aren’t working. Do they need to be stored with a different depth/horizon?

Edit : I checked the evaluation after Nd6. It was most likely luck (Element eval is +0.53.66… in favor of white)

Thanks, yes you are right, it is always good to verify not only the move but also the associated evaluation. So I am a bit relieved Because the capture of the bishop happens only 4 moves after Nd6 and should be seen at ply3 due to quiescence, but GoK only sees it at ply5 resp. 7 seconds after Nd6. There must be an alternative sequence that takes longer until it fails.
After Rb8 white can play Qa4 to delay the sequence (the game would have continued with Ne5, although Element’s evaluation shows -0.85 <0.85 centipawns in favor of black> on a 4+8 search when Element selected Nd6. This is probably because of Nxd4 after Qb3 Rb8 Qa4)

There is no TT storing in Element’s quiescence.

Last edited by birdracerthree (March 26, 2024 03:44:40)

ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

birdracerthree wrote:

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree wrote:

ArnoHu wrote:

birdracerthree I think you have to follow me, so I can make you member…
*snip*
*snip*.
*snip*

Done!

Element 3+8 was clearly leading against GoK in this S3 game, after two search-horizon-related blunders by GoK: https://lichess.org/study/v3EKTlR2
Wow, I think Element will eventually beat GoK on Scratch 3 runtime (at least for one game). I don’t know how Element found Nd6 on depth 3…

Check extensions would help a lot, but I have to get the TTable working first. The mate evaluations aren’t working. Do they need to be stored with a different depth/horizon?

Edit : I checked the evaluation after Nd6. It was most likely luck (Element eval is +0.53.66… in favor of white)

Thanks, yes you are right, it is always good to verify not only the move but also the associated evaluation. So I am a bit relieved Because the capture of the bishop happens only 4 moves after Nd6 and should be seen at ply3 due to quiescence, but GoK only sees it at ply5 resp. 7 seconds after Nd6. There must be an alternative sequence that takes longer until it fails.
After Rb8 white can play Qa4 to delay the sequence (the game would have continued with Ne5, although Element’s evaluation shows -0.85 <0.85 centipawns in favor of black> on a 4+8 search when Element selected Nd6. This is probably because of Nxd4 after Qb3 Rb8 Qa4)

There is no TT storing in Element’s quiescence.

OK, two more GoK vs. Element games in the S3 study. I finally switched back to conservative LMR for S3 as well, and it showed immediately in chapter 55, which GoK played “only” on Medium: https://lichess.org/study/v3EKTlR2/Aaler1Yz
ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

Scratch Chess Engine Ranking (Scratch 3 Runtime)

Rank	Name		Elo	+	-	games	score	oppo.	draws
1 GoK 1713 160 124 25 100% 28 0%
2 Element 1542 210 246 6 33% 283 0%
3 Bonsai 1524 180 168 10 60% 125 0%
4 White Dove 1422 180 185 9 44% 122 0%
5 Archimedes 1400 167 165 10 50% 87 20%
6 HarleyK 1340 260 311 4 25% 184 0%
7 The Turk 1335 204 238 7 29% 128 0%
8 Shallow Blue 1331 204 204 5 50% 9 20%
9 Frenchgamerlol 1317 242 251 4 38% 51 25%
10 LowDoor 1315 220 228 5 40% 46 0%
11 Chip 1307 196 229 6 25% 96 17%
12 Scurious 1299 190 190 5 50% -49 60%
13 Wolverine 1275 305 470 3 0% 231 0%
14 Pseudo 1271 331 479 2 0% 172 0%
15 U0 1237 342 481 2 0% 164 0%
16 Mystery 1185 273 402 3 0% 107 0%
17 Midecah 1136 253 410 4 0% 87 0%

Scratch Chess Engine Ranking (TurboWarp Runtime)
Rank	Name		Elo	+	-	games	score	oppo.	draws
1 GoK 2114 118 91 52 90% 59 4%
2 White Dove 1796 64 66 72 40% 184 17%
3 Element 1766 64 66 72 38% 172 15%
4 Bonsai 1649 156 144 11 59% -53 27%
5 Thundershark 1543 146 163 12 25% 50 17%
6 Shallow Blue 1529 258 298 3 17% 69 33%
7 Scurious 1502 143 164 10 25% -59 30%
S_P_A_R_T
Scratcher
500+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

Scratch Chess Engine Ranking (Scratch 3 Runtime)

Rank	Name		Elo	+	-	games	score	oppo.	draws
1 GoK 1713 160 124 25 100% 28 0%
2 Element 1542 210 246 6 33% 283 0%
3 Bonsai 1524 180 168 10 60% 125 0%
4 White Dove 1422 180 185 9 44% 122 0%
5 Archimedes 1400 167 165 10 50% 87 20%
6 HarleyK 1340 260 311 4 25% 184 0%
7 The Turk 1335 204 238 7 29% 128 0%
8 Shallow Blue 1331 204 204 5 50% 9 20%
9 Frenchgamerlol 1317 242 251 4 38% 51 25%
10 LowDoor 1315 220 228 5 40% 46 0%
11 Chip 1307 196 229 6 25% 96 17%
12 Scurious 1299 190 190 5 50% -49 60%
13 Wolverine 1275 305 470 3 0% 231 0%
14 Pseudo 1271 331 479 2 0% 172 0%
15 U0 1237 342 481 2 0% 164 0%
16 Mystery 1185 273 402 3 0% 107 0%
17 Midecah 1136 253 410 4 0% 87 0%

Scratch Chess Engine Ranking (TurboWarp Runtime)
Rank	Name		Elo	+	-	games	score	oppo.	draws
1 GoK 2114 118 91 52 90% 59 4%
2 White Dove 1796 64 66 72 40% 184 17%
3 Element 1766 64 66 72 38% 172 15%
4 Bonsai 1649 156 144 11 59% -53 27%
5 Thundershark 1543 146 163 12 25% 50 17%
6 Shallow Blue 1529 258 298 3 17% 69 33%
7 Scurious 1502 143 164 10 25% -59 30%

Interesting stuff! I wonder how WD vs Bonsai games will go, especially considering that I've fixed a few S3 WD related issues.

Check out Space Program Simulator!





In it, you can build your own rockets from a variety of parts!
Then fly it with realistic orbital mechanics.

Go to orbit, explore different planets, share your save codes, and do so much more!

If you would like to help out on the project or chat about space or really anything else, check out the offical SPS Studio!

For more information & tutorials, check out the offical forum post!

Powered by DjangoBB