Discuss Scratch
- Discussion Forums
- » Show and Tell
- » Scratch Chess Engine - Game of Kings
- key-lock
- Scratcher
19 posts
Scratch Chess Engine - Game of Kings
okI meant the first one. Thanks for pointing that out. also, did you mean if <3N+3B+5R+9Q<27> or <Q=2 and Q+R+2>
= PieceCount-P then
or if <3N+3B+5R+9Q<27 or Q=2> and <Q+R+2>
= PieceCount-P then
the 1st one makes more sense
█▄▀ █▀▀ █▄█ █░░ █▀█ █▀▀ █▄▀
█░█ ██▄ ░█░ █▄▄ █▄█ █▄▄ █░█
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
- HasiLover_Test
- Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
Scratch Chess Engine Ranking (on Scratch 3 Runtime)I must say this is currently rather Innacurate as Scurious can easily beat Chip, Archimides and Turk, also Frenchgamerlol is way stronger and Midecah chess definately isnt 1200. White Dove also is definately in the top 4.
Based on this lichess.org study: https://lichess.org/study/v3EKTlR2/ , calculated using the BayesELO tool. Data from games of recent two years, and I ran some more in addition.Rank Name Elo + - games score oppo. draws
1 GoK 1746 159 125 20 100% 0 0%
2 Element 1659 303 269 3 67% 141 0%
3 Bonsai 1604 167 158 10 60% 111 0%
4 Archimedes 1530 264 266 4 50% 100 0%
5 Shallow Blue 1514 262 238 3 67% 21 0%
6 The Turk 1475 210 240 6 33% 124 0%
7 LowDoor 1466 241 237 4 50% 43 0%
8 Chip 1430 235 283 4 25% 106 0%
9 Pseudo 1423 296 438 2 0% 180 0%
10 White Dove 1421 259 411 3 0% 220 0%
11 HarleyK 1393 258 311 4 25% 132 0%
12 Scurious 1386 305 303 2 50% -55 0%
13 Wolverine 1385 279 446 3 0% 203 0%
14 U0 1366 314 461 2 0% 156 0%
15 Frenchgamerlol 1345 284 301 3 33% 19 0%
16 Midecah 1276 232 338 4 0% 84 0%
17 Mystery 1230 268 386 3 0% 45 0%
Data is still limited, too few games played. Bottom ELO numbers should be even lower, some rankings certainly wrong - Archimedes, The Turk too high, White Dove too low (currently facing some Scratch 3 issues). Midecah is the engine which has never drawn let alone won a game and should be last.
BTW, Midecah was very close to a repetition draw against Scurious right now. I started even crossing fingers for Midecah, like a once in a lifetime chance, but no - instead of making the next identical check-evasion, it chose not to.
Thundershark is not in the list, because it was designed for TurboWarp only. U0 has been taken offline it seems.
You can find the engines in this studio: https://scratch.mit.edu/studios/15896412/
- ArnoHu
- Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
Scratch Chess Engine Ranking (on Scratch 3 Runtime)I must say this is currently rather Innacurate as Scurious can easily beat Chip, Archimides and Turk, also Frenchgamerlol is way stronger and Midecah chess definately isnt 1200. White Dove also is definately in the top 4.
Based on this lichess.org study: https://lichess.org/study/v3EKTlR2/ , calculated using the BayesELO tool. Data from games of recent two years, and I ran some more in addition.Rank Name Elo + - games score oppo. draws
1 GoK 1746 159 125 20 100% 0 0%
2 Element 1659 303 269 3 67% 141 0%
3 Bonsai 1604 167 158 10 60% 111 0%
4 Archimedes 1530 264 266 4 50% 100 0%
5 Shallow Blue 1514 262 238 3 67% 21 0%
6 The Turk 1475 210 240 6 33% 124 0%
7 LowDoor 1466 241 237 4 50% 43 0%
8 Chip 1430 235 283 4 25% 106 0%
9 Pseudo 1423 296 438 2 0% 180 0%
10 White Dove 1421 259 411 3 0% 220 0%
11 HarleyK 1393 258 311 4 25% 132 0%
12 Scurious 1386 305 303 2 50% -55 0%
13 Wolverine 1385 279 446 3 0% 203 0%
14 U0 1366 314 461 2 0% 156 0%
15 Frenchgamerlol 1345 284 301 3 33% 19 0%
16 Midecah 1276 232 338 4 0% 84 0%
17 Mystery 1230 268 386 3 0% 45 0%
Data is still limited, too few games played. Bottom ELO numbers should be even lower, some rankings certainly wrong - Archimedes, The Turk too high, White Dove too low (currently facing some Scratch 3 issues). Midecah is the engine which has never drawn let alone won a game and should be last.
BTW, Midecah was very close to a repetition draw against Scurious right now. I started even crossing fingers for Midecah, like a once in a lifetime chance, but no - instead of making the next identical check-evasion, it chose not to.
Thundershark is not in the list, because it was designed for TurboWarp only. U0 has been taken offline it seems.
You can find the engines in this studio: https://scratch.mit.edu/studios/15896412/
Yes, as stated before, some calibration games missing, but the trajectory is correct. I did some of those yesterday, and it improved things immediately already. Three times I had White Dove playing, each time it messed up the board on P=2, so there was nothing I could do. I will try again today, as S_P_A_R_T has fixed that now.
And as said, those are not FIDE numbers. Also, for Midecah to fall to 1000 or similar, it must play more games.
Last edited by ArnoHu (March 24, 2024 07:55:06)
- ArnoHu
- Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
New GoK Development Version
The previous way how GoK evaluated castling and resulting positions (esp. king protection) was the result of tweaking bits and pieces over several years, including a dynamic component favoring early castling. Yesterday I threw away all the code and re-implemented all of that. Only one game so far against the previous version, which it won. I would appreciate further tests, as it is quite a change. My test automation project is still not done yet. GoK Dev can be found at https://scratch.mit.edu/projects/828094886/
I also reverted LMR to the January implementation. It is less spectacular, but is also on the safer side. It is more important to see something that becomes visible at ply 8, than get to ply 12 and only see it here, esp. as competition won't reach that depth.
The previous way how GoK evaluated castling and resulting positions (esp. king protection) was the result of tweaking bits and pieces over several years, including a dynamic component favoring early castling. Yesterday I threw away all the code and re-implemented all of that. Only one game so far against the previous version, which it won. I would appreciate further tests, as it is quite a change. My test automation project is still not done yet. GoK Dev can be found at https://scratch.mit.edu/projects/828094886/
I also reverted LMR to the January implementation. It is less spectacular, but is also on the safer side. It is more important to see something that becomes visible at ply 8, than get to ply 12 and only see it here, esp. as competition won't reach that depth.
Last edited by ArnoHu (March 24, 2024 07:53:02)
- HasiLover_Test
- Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
New GoK Development VersionWill check it out. Sounds like exciting Changes.
The previous way how GoK evaluated castling and resulting positions (esp. king protection) was the result of tweaking bits and pieces over several years, including a dynamic component favoring early castling. Yesterday I threw away all the code and re-implemented all of that. Only one game so far against the previous version, which it won. I would appreciate further tests, as it is quite a change. My test automation project is still not done yet. GoK Dev can be found at https://scratch.mit.edu/projects/828094886/
I also reverted LMR to the January implementation. It is less spectacular, but is also on the safer side. It is more important to see something that becomes visible at ply 8, than get to ply 12 and only see it here, esp. as competition won't reach that depth.
- HasiLover_Test
- Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
GoK(white) wins against Scurious 2 in 41 Moves :https://lichess.org/VC2cvCUT#81 The new GoK Version played at an Impressive 97% accuracy.
- ArnoHu
- Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/VC2cvCUT#81 The new GoK Version played at an Impressive 97% accuracy.GoK(white) wins against Scurious 2 in 41 Moves :
Thanks, good to see GoK castled at the right time. GoK Medium also played a good game against WD already: https://lichess.org/geJ2aqvs#129
Last edited by ArnoHu (March 24, 2024 10:07:10)
- ScratchChessChampion
- Scratcher
93 posts
Scratch Chess Engine - Game of Kings
Hey everyone! I'm thrilled to be back . Fyi, I'll be posting the Scratch Chess Federation website real soon (expect it by April 1st), and I'll also be diving back into my old chess engine, MiniMate.
- ArnoHu
- Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
Hey everyone! I'm thrilled to be back . Fyi, I'll be posting the Scratch Chess Federation website real soon (expect it by April 1st), and I'll also be diving back into my old chess engine, MiniMate.
Welcome back!
- HasiLover_Test
- Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
Thats great, welcome Back! Its great to hear MiniMate is coming Back. Hey everyone! I'm thrilled to be back . Fyi, I'll be posting the Scratch Chess Federation website real soon (expect it by April 1st), and I'll also be diving back into my old chess engine, MiniMate.
Last edited by HasiLover_Test (March 24, 2024 10:15:22)
- ArnoHu
- Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
Is it just me, or did you also lose that lichess.org analysis board feature that would show you the next best move via a blue arrow once you activate local evaluation? I now have to hover over a variation in the PGN moves panel, and that only appears during live analytics (https://lichess.org/analysis/), not on a stored game.
- HasiLover_Test
- Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/analysis/), not on a stored game.It works on my PC Is it just me, or did you also lose that lichess.org analysis board feature that would show you the next best move via a blue arrow once you activate local evaluation? I now have to hover over a variation in the PGN moves panel, and that only appears during live analytics (
- ArnoHu
- Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/analysis/), not on a stored game.It works on my PC Is it just me, or did you also lose that lichess.org analysis board feature that would show you the next best move via a blue arrow once you activate local evaluation? I now have to hover over a variation in the PGN moves panel, and that only appears during live analytics (
Are you using Chrome?
- ArnoHu
- Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/VC2cvCUT#81 The new GoK Version played at an Impressive 97% accuracy.GoK(white) wins against Scurious 2 in 41 Moves :
Thanks, good to see GoK castled at the right time. GoK Medium also played a good game against WD already: https://lichess.org/geJ2aqvs#129
Game #2 against WD was similar, and as before, the one blunder does not happen on Difficult, search-depth related: https://lichess.org/rGFuqJL6#143
I left the aggressive LMR activated for Scratch 3, it has some advantages there, think time among them.
You can see the changeset here: https://github.com/ArnoHue/scratch/commit/b799c201c91b76ca907286de9562c8e3862fb8bc
Last edited by ArnoHu (March 24, 2024 11:09:53)
- HasiLover_Test
- Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
Yes, I am a Chrome User.https://lichess.org/analysis/), not on a stored game.It works on my PC Is it just me, or did you also lose that lichess.org analysis board feature that would show you the next best move via a blue arrow once you activate local evaluation? I now have to hover over a variation in the PGN moves panel, and that only appears during live analytics (
Are you using Chrome?
- ArnoHu
- Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/VC2cvCUT#81 The new GoK Version played at an Impressive 97% accuracy.GoK(white) wins against Scurious 2 in 41 Moves :
Thanks, good to see GoK castled at the right time. GoK Medium also played a good game against WD already: https://lichess.org/geJ2aqvs#129
Game #2 against WD was similar, and as before, the one blunder does not happen on Difficult, search-depth related: https://lichess.org/rGFuqJL6#143
I left the aggressive LMR activated for Scratch 3, it has some advantages there, think time among them.
You can see the changeset here: https://github.com/ArnoHue/scratch/commit/b799c201c91b76ca907286de9562c8e3862fb8bc
Game #3 ( https://lichess.org/vjRjyTAu#102 ) was also good, although GoK left the shortest checkmate path twice due to a refactoring bug I had made on a constant usage, this is the bugfix:
https://github.com/ArnoHue/scratch/commit/70b9730e26b08fac9e681dda1735e9ece607b10e
github is such a big help!
Also, castling timing was not perfect, tweaked just one evaluation factor, and fixed.
Game #4 was played on Medium, nearly perfect, 96% vs 90%, two accuracies, one of which does not happen on Difficult: https://lichess.org/hou6oFy4#101
Last edited by ArnoHu (March 24, 2024 13:02:39)
- S_P_A_R_T
- Scratcher
500+ posts
Scratch Chess Engine - Game of Kings
Scratch Chess Engine Ranking (on Scratch 3 Runtime)I must say this is currently rather Innacurate as Scurious can easily beat Chip, Archimides and Turk, also Frenchgamerlol is way stronger and Midecah chess definately isnt 1200. White Dove also is definately in the top 4.
Based on this lichess.org study: https://lichess.org/study/v3EKTlR2/ , calculated using the BayesELO tool. Data from games of recent two years, and I ran some more in addition.Rank Name Elo + - games score oppo. draws
1 GoK 1746 159 125 20 100% 0 0%
2 Element 1659 303 269 3 67% 141 0%
3 Bonsai 1604 167 158 10 60% 111 0%
4 Archimedes 1530 264 266 4 50% 100 0%
5 Shallow Blue 1514 262 238 3 67% 21 0%
6 The Turk 1475 210 240 6 33% 124 0%
7 LowDoor 1466 241 237 4 50% 43 0%
8 Chip 1430 235 283 4 25% 106 0%
9 Pseudo 1423 296 438 2 0% 180 0%
10 White Dove 1421 259 411 3 0% 220 0%
11 HarleyK 1393 258 311 4 25% 132 0%
12 Scurious 1386 305 303 2 50% -55 0%
13 Wolverine 1385 279 446 3 0% 203 0%
14 U0 1366 314 461 2 0% 156 0%
15 Frenchgamerlol 1345 284 301 3 33% 19 0%
16 Midecah 1276 232 338 4 0% 84 0%
17 Mystery 1230 268 386 3 0% 45 0%
Data is still limited, too few games played. Bottom ELO numbers should be even lower, some rankings certainly wrong - Archimedes, The Turk too high, White Dove too low (currently facing some Scratch 3 issues). Midecah is the engine which has never drawn let alone won a game and should be last.
BTW, Midecah was very close to a repetition draw against Scurious right now. I started even crossing fingers for Midecah, like a once in a lifetime chance, but no - instead of making the next identical check-evasion, it chose not to.
Thundershark is not in the list, because it was designed for TurboWarp only. U0 has been taken offline it seems.
You can find the engines in this studio: https://scratch.mit.edu/studios/15896412/
Yes, as stated before, some calibration games missing, but the trajectory is correct. I did some of those yesterday, and it improved things immediately already. Three times I had White Dove playing, each time it messed up the board on P=2, so there was nothing I could do. I will try again today, as S_P_A_R_T has fixed that now.
And as said, those are not FIDE numbers. Also, for Midecah to fall to 1000 or similar, it must play more games.
WD's bug has still not been fixed sadly. I've been quite busy with my YT Channel (again). I've just been spending 100% of my time on that for the past 2 weeks to get it to 1000 subs (only 3 away right now!). But today, I'll hopefully start debugging the issue.
(The bug is also really weird in the way that you'd expect the bug to happen in TW, as it's just faster S3. But no… It just doesn't occur on TW. And I've even tested S3 without the q-search limiter and it still bugs 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!
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!
- HasiLover
- Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
Just subscribed, your pretty close to 1000 Subscribers.Scratch Chess Engine Ranking (on Scratch 3 Runtime)I must say this is currently rather Innacurate as Scurious can easily beat Chip, Archimides and Turk, also Frenchgamerlol is way stronger and Midecah chess definately isnt 1200. White Dove also is definately in the top 4.
Based on this lichess.org study: https://lichess.org/study/v3EKTlR2/ , calculated using the BayesELO tool. Data from games of recent two years, and I ran some more in addition.Rank Name Elo + - games score oppo. draws
1 GoK 1746 159 125 20 100% 0 0%
2 Element 1659 303 269 3 67% 141 0%
3 Bonsai 1604 167 158 10 60% 111 0%
4 Archimedes 1530 264 266 4 50% 100 0%
5 Shallow Blue 1514 262 238 3 67% 21 0%
6 The Turk 1475 210 240 6 33% 124 0%
7 LowDoor 1466 241 237 4 50% 43 0%
8 Chip 1430 235 283 4 25% 106 0%
9 Pseudo 1423 296 438 2 0% 180 0%
10 White Dove 1421 259 411 3 0% 220 0%
11 HarleyK 1393 258 311 4 25% 132 0%
12 Scurious 1386 305 303 2 50% -55 0%
13 Wolverine 1385 279 446 3 0% 203 0%
14 U0 1366 314 461 2 0% 156 0%
15 Frenchgamerlol 1345 284 301 3 33% 19 0%
16 Midecah 1276 232 338 4 0% 84 0%
17 Mystery 1230 268 386 3 0% 45 0%
Data is still limited, too few games played. Bottom ELO numbers should be even lower, some rankings certainly wrong - Archimedes, The Turk too high, White Dove too low (currently facing some Scratch 3 issues). Midecah is the engine which has never drawn let alone won a game and should be last.
BTW, Midecah was very close to a repetition draw against Scurious right now. I started even crossing fingers for Midecah, like a once in a lifetime chance, but no - instead of making the next identical check-evasion, it chose not to.
Thundershark is not in the list, because it was designed for TurboWarp only. U0 has been taken offline it seems.
You can find the engines in this studio: https://scratch.mit.edu/studios/15896412/
Yes, as stated before, some calibration games missing, but the trajectory is correct. I did some of those yesterday, and it improved things immediately already. Three times I had White Dove playing, each time it messed up the board on P=2, so there was nothing I could do. I will try again today, as S_P_A_R_T has fixed that now.
And as said, those are not FIDE numbers. Also, for Midecah to fall to 1000 or similar, it must play more games.
WD's bug has still not been fixed sadly. I've been quite busy with my YT Channel (again). I've just been spending 100% of my time on that for the past 2 weeks to get it to 1000 subs (only 3 away right now!). But today, I'll hopefully start debugging the issue.
(The bug is also really weird in the way that you'd expect the bug to happen in TW, as it's just faster S3. But no… It just doesn't occur on TW. And I've even tested S3 without the q-search limiter and it still bugs out.)
- S_P_A_R_T
- Scratcher
500+ posts
Scratch Chess Engine - Game of Kings
Just subscribed, your pretty close to 1000 Subscribers.Scratch Chess Engine Ranking (on Scratch 3 Runtime)I must say this is currently rather Innacurate as Scurious can easily beat Chip, Archimides and Turk, also Frenchgamerlol is way stronger and Midecah chess definately isnt 1200. White Dove also is definately in the top 4.
Based on this lichess.org study: https://lichess.org/study/v3EKTlR2/ , calculated using the BayesELO tool. Data from games of recent two years, and I ran some more in addition.Rank Name Elo + - games score oppo. draws
1 GoK 1746 159 125 20 100% 0 0%
2 Element 1659 303 269 3 67% 141 0%
3 Bonsai 1604 167 158 10 60% 111 0%
4 Archimedes 1530 264 266 4 50% 100 0%
5 Shallow Blue 1514 262 238 3 67% 21 0%
6 The Turk 1475 210 240 6 33% 124 0%
7 LowDoor 1466 241 237 4 50% 43 0%
8 Chip 1430 235 283 4 25% 106 0%
9 Pseudo 1423 296 438 2 0% 180 0%
10 White Dove 1421 259 411 3 0% 220 0%
11 HarleyK 1393 258 311 4 25% 132 0%
12 Scurious 1386 305 303 2 50% -55 0%
13 Wolverine 1385 279 446 3 0% 203 0%
14 U0 1366 314 461 2 0% 156 0%
15 Frenchgamerlol 1345 284 301 3 33% 19 0%
16 Midecah 1276 232 338 4 0% 84 0%
17 Mystery 1230 268 386 3 0% 45 0%
Data is still limited, too few games played. Bottom ELO numbers should be even lower, some rankings certainly wrong - Archimedes, The Turk too high, White Dove too low (currently facing some Scratch 3 issues). Midecah is the engine which has never drawn let alone won a game and should be last.
BTW, Midecah was very close to a repetition draw against Scurious right now. I started even crossing fingers for Midecah, like a once in a lifetime chance, but no - instead of making the next identical check-evasion, it chose not to.
Thundershark is not in the list, because it was designed for TurboWarp only. U0 has been taken offline it seems.
You can find the engines in this studio: https://scratch.mit.edu/studios/15896412/
Yes, as stated before, some calibration games missing, but the trajectory is correct. I did some of those yesterday, and it improved things immediately already. Three times I had White Dove playing, each time it messed up the board on P=2, so there was nothing I could do. I will try again today, as S_P_A_R_T has fixed that now.
And as said, those are not FIDE numbers. Also, for Midecah to fall to 1000 or similar, it must play more games.
WD's bug has still not been fixed sadly. I've been quite busy with my YT Channel (again). I've just been spending 100% of my time on that for the past 2 weeks to get it to 1000 subs (only 3 away right now!). But today, I'll hopefully start debugging the issue.
(The bug is also really weird in the way that you'd expect the bug to happen in TW, as it's just faster S3. But no… It just doesn't occur on TW. And I've even tested S3 without the q-search limiter and it still bugs out.)
Thank you!
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!
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!
- HasiLover_Test
- Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
I have just released Scurious 2, after doing some Bug Fixes and Tweaks.