Discuss Scratch

ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

GoK Classic vs. Wolverine, 96% vs. 92%:
https://lichess.org/study/SaWdnTo2/aO9x4U1b

GoK Classic vs. White Dove, 91% vs. 88%:
https://lichess.org/study/SaWdnTo2/VQnEaCQP

GoK Classic vs. Black Crow, 95% vs. 91%:
https://lichess.org/study/SaWdnTo2/kmFnI52B

Last edited by ArnoHu (Nov. 28, 2025 23:56:00)

waabooboo
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

Kaufman Test with current GoK Classic:

Problem    Found    Nodecount (k)    Comment
1: Y 4,154
2: Y 155
3: Y 7 Lost again at 101k
4: Y 1,127
5: Y 248
6: Y 0 Lost again at 22k
7: Y 253
8: Y 1341
9: Y 397
10: Y 40
11: Y 131
12:
13: Y 618
14: Y 1,859
15: Y 285
16: Y 106
17: Y 167
18:
19: Y 59
20: Y 565
21:
22: Y 2
23: Y 1 Lost again at 647k
24: Y 52
25:

Nice! 21-25 are really more about endgame knowledge than tactical strength. 25 seems particularly tough for HCE engines – the king and pawn ending is clearly winning, but the engines have to calculate very deeply before trading for the “weak” minor piece.

21 is a bit broken, looks like it's a tablebase win for black no matter what. But any sane human player takes the knight, because you have much better practical drawing chances with the bishop endgame.

New Wolverine version released today – I got LMP working and retuned the search parameters. I'll run it through the gauntlet, see if the 17/25 can be improved upon
waabooboo
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

waabooboo wrote:

ArnoHu wrote:

Kaufman Test with current GoK Classic:

Problem    Found    Nodecount (k)    Comment
1: Y 4,154
2: Y 155
3: Y 7 Lost again at 101k
4: Y 1,127
5: Y 248
6: Y 0 Lost again at 22k
7: Y 253
8: Y 1341
9: Y 397
10: Y 40
11: Y 131
12:
13: Y 618
14: Y 1,859
15: Y 285
16: Y 106
17: Y 167
18:
19: Y 59
20: Y 565
21:
22: Y 2
23: Y 1 Lost again at 647k
24: Y 52
25:

Nice! 21-25 are really more about endgame knowledge than tactical strength. 25 seems particularly tough for HCE engines – the king and pawn ending is clearly winning, but the engines have to calculate very deeply before trading for the “weak” minor piece.

21 is a bit broken, looks like it's a tablebase win for black no matter what. But any sane human player takes the knight, because you have much better practical drawing chances with the bishop endgame.

New Wolverine version released today – I got LMP working and retuned the search parameters. I'll run it through the gauntlet, see if the 17/25 can be improved upon

For the new Wolverine:

1) 3504k
2) 446k
3) 649k
4) 290k
5) 110k
6) 220k
7) 198k
8) 1995k
9) 546k
10) Not found within 10M nodes
11) 661k
12) 435k
13) 69k
14) 2047k
15) 1039k
16) 261k
17) 1076k
18) Not found within 10M nodes
19) Not found within 10M nodes
20) 1075k
21) 0k
22) 0k
23) 0k, but discarded later
24) 0k
25) Not found within 10M nodes
ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

waabooboo wrote:

ArnoHu wrote:

Kaufman Test with current GoK Classic:

Problem    Found    Nodecount (k)    Comment
1: Y 4,154
2: Y 155
3: Y 7 Lost again at 101k
4: Y 1,127
5: Y 248
6: Y 0 Lost again at 22k
7: Y 253
8: Y 1341
9: Y 397
10: Y 40
11: Y 131
12:
13: Y 618
14: Y 1,859
15: Y 285
16: Y 106
17: Y 167
18:
19: Y 59
20: Y 565
21:
22: Y 2
23: Y 1 Lost again at 647k
24: Y 52
25:

Nice! 21-25 are really more about endgame knowledge than tactical strength. 25 seems particularly tough for HCE engines – the king and pawn ending is clearly winning, but the engines have to calculate very deeply before trading for the “weak” minor piece.

21 is a bit broken, looks like it's a tablebase win for black no matter what. But any sane human player takes the knight, because you have much better practical drawing chances with the bishop endgame.

New Wolverine version released today – I got LMP working and retuned the search parameters. I'll run it through the gauntlet, see if the 17/25 can be improved upon

Congrats to the new Wolverine version, it looks very strong.

The previous GoK Classic was lucky to draw these two games:

https://lichess.org/study/SaWdnTo2/ye99xDJU
https://lichess.org/study/SaWdnTo2/P2WeK47m

I then improved and reactivated internal iterative deepening and internal iterative reductions, and Classic managed to win on the same opening, still quite a fight at 91% vs. 88%:

https://lichess.org/study/SaWdnTo2/o4Z1KWVx

And after two evaluation bugfixes, 95% vs. 91%:

https://lichess.org/study/SaWdnTo2/cY0AaaSI

Last edited by ArnoHu (Nov. 29, 2025 16:56:14)

waabooboo
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

waabooboo wrote:

ArnoHu wrote:

Kaufman Test with current GoK Classic:

Problem    Found    Nodecount (k)    Comment
1: Y 4,154
2: Y 155
3: Y 7 Lost again at 101k
4: Y 1,127
5: Y 248
6: Y 0 Lost again at 22k
7: Y 253
8: Y 1341
9: Y 397
10: Y 40
11: Y 131
12:
13: Y 618
14: Y 1,859
15: Y 285
16: Y 106
17: Y 167
18:
19: Y 59
20: Y 565
21:
22: Y 2
23: Y 1 Lost again at 647k
24: Y 52
25:

Nice! 21-25 are really more about endgame knowledge than tactical strength. 25 seems particularly tough for HCE engines – the king and pawn ending is clearly winning, but the engines have to calculate very deeply before trading for the “weak” minor piece.

21 is a bit broken, looks like it's a tablebase win for black no matter what. But any sane human player takes the knight, because you have much better practical drawing chances with the bishop endgame.

New Wolverine version released today – I got LMP working and retuned the search parameters. I'll run it through the gauntlet, see if the 17/25 can be improved upon

Congrats to the new Wolverine version, it looks very strong.

The previous GoK Classic was lucky to draw these two games:

https://lichess.org/study/SaWdnTo2/ye99xDJU
https://lichess.org/study/SaWdnTo2/P2WeK47m

I then improved and reactivated internal iterative deepening and internal iterative reductions, and Classic managed to win on the same opening, still quite a fight at 91% vs. 88%:

https://lichess.org/study/SaWdnTo2/o4Z1KWVx

And after two evaluation bugfixes, 95% vs. 91%:

https://lichess.org/study/SaWdnTo2/cY0AaaSI

Thanks! I'll work on search a bit more – Wolverine still can't solve test position #19, which GoK got quickly. Probably a futility pruning thing, I'll take a look… And there's still work to do on the evaluation
ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

waabooboo wrote:

ArnoHu wrote:

waabooboo wrote:

ArnoHu wrote:

Kaufman Test with current GoK Classic:

Problem    Found    Nodecount (k)    Comment
1: Y 4,154
2: Y 155
3: Y 7 Lost again at 101k
4: Y 1,127
5: Y 248
6: Y 0 Lost again at 22k
7: Y 253
8: Y 1341
9: Y 397
10: Y 40
11: Y 131
12:
13: Y 618
14: Y 1,859
15: Y 285
16: Y 106
17: Y 167
18:
19: Y 59
20: Y 565
21:
22: Y 2
23: Y 1 Lost again at 647k
24: Y 52
25:

Nice! 21-25 are really more about endgame knowledge than tactical strength. 25 seems particularly tough for HCE engines – the king and pawn ending is clearly winning, but the engines have to calculate very deeply before trading for the “weak” minor piece.

21 is a bit broken, looks like it's a tablebase win for black no matter what. But any sane human player takes the knight, because you have much better practical drawing chances with the bishop endgame.

New Wolverine version released today – I got LMP working and retuned the search parameters. I'll run it through the gauntlet, see if the 17/25 can be improved upon

Congrats to the new Wolverine version, it looks very strong.

The previous GoK Classic was lucky to draw these two games:

https://lichess.org/study/SaWdnTo2/ye99xDJU
https://lichess.org/study/SaWdnTo2/P2WeK47m

I then improved and reactivated internal iterative deepening and internal iterative reductions, and Classic managed to win on the same opening, still quite a fight at 91% vs. 88%:

https://lichess.org/study/SaWdnTo2/o4Z1KWVx

And after two evaluation bugfixes, 95% vs. 91%:

https://lichess.org/study/SaWdnTo2/cY0AaaSI

Thanks! I'll work on search a bit more – Wolverine still can't solve test position #19, which GoK got quickly. Probably a futility pruning thing, I'll take a look… And there's still work to do on the evaluation

Two more games with current versions:

https://lichess.org/study/SaWdnTo2/R3EWhRqV
https://lichess.org/study/SaWdnTo2/T1PXShRm

Last edited by ArnoHu (Nov. 30, 2025 08:52:54)

ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

GoK Classic has just been updated.

GoK Classic vs. White Dove, 93% vs. 90%:
https://lichess.org/study/SaWdnTo2/VIKihROw

GoK Classic vs. Wolverine 2, 96% vs. 91%:
https://lichess.org/study/SaWdnTo2/T1PXShRm

GoK Classic vs. Black Crow, 90% vs. 91%:
https://lichess.org/study/SaWdnTo2/kzkdF7Tx

GoK Classic vs. TurboKnight 5, 91% vs. 89%:
https://lichess.org/study/SaWdnTo2/hsiOa53c

GoK Classic vs. Wolverine 2, 93% vs. 87%:
https://lichess.org/study/SaWdnTo2/O9jpMC3t

GoK Classic vs. Delta, 97% vs. 89%:
https://lichess.org/study/SaWdnTo2/XQ2dgj4U

GoK Classic vs. Shallow Blue 3 NNUE, 93% vs. 90%:
https://lichess.org/study/SaWdnTo2/U1VwFQpS

GoK Classic vs. White Dove, 98% vs. 92%:
https://lichess.org/study/SaWdnTo2/N0Im9Cjc

Two improvements merged to GoK NNUE:

GoK NNUE vs. Black Crow, 98% vs. 94%:
https://lichess.org/study/SaWdnTo2/JUhj2fEe

Last edited by ArnoHu (Nov. 30, 2025 22:34:11)

coooolboy55
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

Connect 4 Bot Game Series

I am conducting a Connect 4 Bot test game series played by Game of Connect (GoC).

The results will be updated in this posting over time. They will cover the Scratch runtime and TurboWarp (TW only if an engine takes advantage of the additional performance there), with both sides as starting players once (as far as the projects allow). When several playing levels exist, games will be played on highest level available for the runtime.

The Bots


Scratch 3
Starting Side       Responding Side

GoC - CFAI (BirdRacer) 1 - 0 (win at ply 41)
GoC - C4AI (Spentine) 1 - 0 (win at ply 29)
GoC - C4AI-GL (PullJosh) 1 - 0 (win at ply 25)
GoC - OC4 (AKOS) 1 - 0 (win at ply 33)
GoC - OC4VC (ABC) 1 - 0 (win at ply 31)

CFAI (BirdRacer) - GoC 0.5 - 0.5
C4AI (Spentine) - GoC 0 - 1 (loss at ply 34)

TurboWarp
Starting Side       Responding Side

GoC - CFAI (BirdRacer) 1 - 0 (win at ply 31)
GoC - C4AI (Spentine) 1 - 0 (win at ply 39)

CFAI (BirdRacer) - GoC 0.5 - 0.5
C4AI (Spentine) - GoC 0 - 1 (loss at ply 42)

Note: GoC and BirdRacer's CFAI are think-time bound, hence not deterministic. They will play according to system speed (means, better on faster systems).

If you reply to this post, I suggest to link to it and remove the copied content, otherwise we will have outdated results copied over the forum. Here is the link to the original: https://scratch.mit.edu/discuss/post/8319884/
Will you be running another Connect 4 tournament?
waabooboo
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

https://lichess.org/study/SaWdnTo2/57T1Kkle

Ok, this one's pretty egregious. That endgame is an easy draw, just keep the black king in the light squared corner and sac bishop for g pawn. I didn't bother adding special knowledge for drawn KPB v K endgames, maybe I should… But Wolverine should be able to draw that through calculation alone, just avoiding the paths where white queens.
ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

GoK Classic has just been updated.

GoK Classic vs. White Dove, 93% vs. 90%:
https://lichess.org/study/SaWdnTo2/VIKihROw

GoK Classic vs. Wolverine 2, 96% vs. 91%:
https://lichess.org/study/SaWdnTo2/T1PXShRm

GoK Classic vs. Black Crow, 90% vs. 91%:
https://lichess.org/study/SaWdnTo2/kzkdF7Tx

GoK Classic vs. TurboKnight 5, 91% vs. 89%:
https://lichess.org/study/SaWdnTo2/hsiOa53c

GoK Classic vs. Wolverine 2, 93% vs. 87%:
https://lichess.org/study/SaWdnTo2/O9jpMC3t

GoK Classic vs. Delta, 97% vs. 89%:
https://lichess.org/study/SaWdnTo2/XQ2dgj4U

GoK Classic vs. Shallow Blue 3 NNUE, 93% vs. 90%:
https://lichess.org/study/SaWdnTo2/U1VwFQpS

GoK Classic vs. White Dove, 98% vs. 92%:
https://lichess.org/study/SaWdnTo2/N0Im9Cjc

Two improvements merged to GoK NNUE:

GoK NNUE vs. Black Crow, 98% vs. 94%:
https://lichess.org/study/SaWdnTo2/JUhj2fEe


GoK Classic update:

GoK Classic vs. Wolverine 2, 96% vs. 93%:
https://lichess.org/study/SaWdnTo2/35WL1dFZ
Destructor_chess
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

coooolboy55 wrote:

ArnoHu wrote:

Connect 4 Bot Game Series

I am conducting a Connect 4 Bot test game series played by Game of Connect (GoC).

The results will be updated in this posting over time. They will cover the Scratch runtime and TurboWarp (TW only if an engine takes advantage of the additional performance there), with both sides as starting players once (as far as the projects allow). When several playing levels exist, games will be played on highest level available for the runtime.

The Bots


Scratch 3
Starting Side       Responding Side

GoC - CFAI (BirdRacer) 1 - 0 (win at ply 41)
GoC - C4AI (Spentine) 1 - 0 (win at ply 29)
GoC - C4AI-GL (PullJosh) 1 - 0 (win at ply 25)
GoC - OC4 (AKOS) 1 - 0 (win at ply 33)
GoC - OC4VC (ABC) 1 - 0 (win at ply 31)

CFAI (BirdRacer) - GoC 0.5 - 0.5
C4AI (Spentine) - GoC 0 - 1 (loss at ply 34)

TurboWarp
Starting Side       Responding Side

GoC - CFAI (BirdRacer) 1 - 0 (win at ply 31)
GoC - C4AI (Spentine) 1 - 0 (win at ply 39)

CFAI (BirdRacer) - GoC 0.5 - 0.5
C4AI (Spentine) - GoC 0 - 1 (loss at ply 42)

Note: GoC and BirdRacer's CFAI are think-time bound, hence not deterministic. They will play according to system speed (means, better on faster systems).

If you reply to this post, I suggest to link to it and remove the copied content, otherwise we will have outdated results copied over the forum. Here is the link to the original: https://scratch.mit.edu/discuss/post/8319884/
Will you be running another Connect 4 tournament?
I mean, if one day I do a connect 4 bot, I will.
waabooboo
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

Made some more adjustments to the search parameters, Wolverine's tactical play should be even stronger now.
coooolboy55
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

I have stopped working on my Chess AI. I really don't like creating it.
ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

GoK Classic - Shallow Blue 3 NNUE, 89% vs. 86%:
https://lichess.org/study/PJTsaIt9/ZyFQaV9d

GoK Classic - Wolverine 2, 86% vs. 83%:
https://lichess.org/study/PJTsaIt9/vVV4YDrr

Last edited by ArnoHu (Dec. 4, 2025 10:38:27)

waabooboo
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

GoK Classic - Shallow Blue 3 NNUE, 89% vs. 86%:
https://lichess.org/study/PJTsaIt9/ZyFQaV9d

GoK Classic - Wolverine 2 NNUE, 86% vs. 83%:
https://lichess.org/study/PJTsaIt9/vVV4YDrr

There's no Wolverine NNUE, unfortunately…
iceysnowman
Scratcher
68 posts

Scratch Chess Engine - Game of Kings

coooolboy55 wrote:

I have stopped working on my Chess AI. I really don't like creating it.
Noooooo! Too bad, it could have ended up really well. I at least hope you continue to work on your Connect 4 bot, it's a really nice project and it's pretty decent.
Destructor_chess
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

coooolboy55 wrote:

I have stopped working on my Chess AI. I really don't like creating it.
Ah… You can ask others, I said that too many times. But well, chess programming is too much attractive, you'll see.

Last edited by Destructor_chess (Dec. 4, 2025 15:56:43)

Hi_Pro20155
Scratcher
5 posts

Scratch Chess Engine - Game of Kings

when green flag clicked
wait (3) secs
wait (3) secs
Hi_Pro20155
Scratcher
5 posts

Scratch Chess Engine - Game of Kings

when green flag clicked
change [ v] by (Happy)
[/s[scratchblocks]
cratchblocks]
change [ v] by (sad)
[/scratchblocks]
coooolboy55
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

iceysnowman wrote:

coooolboy55 wrote:

I have stopped working on my Chess AI. I really don't like creating it.
Noooooo! Too bad, it could have ended up really well. I at least hope you continue to work on your Connect 4 bot, it's a really nice project and it's pretty decent.
I will keep working on that. There are many more features I can add.

Powered by DjangoBB