Discuss Scratch
- Discussion Forums
- » Show and Tell
- » Scratch Chess Engine - Game of Kings
- ArnoHu
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
An updated GoK Classic version played this series of test games on TurboWarp:
GoK Classic (Medium, black) vs. White Dove (P2), 95% vs. 92%:
https://lichess.org/study/gMtEUuT4/f4MBRyHS#168
GoK Classic (Medium, white) vs. White Dove NNUE (15s), 95% vs. 88%:
https://lichess.org/IhPFpkIz#97
GoK Classic (Medium, white) vs Delta (15s), 96% vs. 87%:
https://lichess.org/study/gMtEUuT4/UwMmwop8#89
GoK Classic (Medium, white) vs. Verde (15s), 94% vs. 84%:
https://lichess.org/CEWqDT9M#65
GoK Classic (Medium, black) vs. Element (7+8), 94% vs. 81%:
https://lichess.org/study/gMtEUuT4/1rSGAiHF#70
GoK Classic (Medium, black) vs. Shallow Blue, 96% vs. 91%:
https://lichess.org/Us9eOVww#106
GoK Classic (Medium, black) vs. LA Chess (15s), 98% vs. 89%:
https://lichess.org/4I7TSrIU#84
GoK's average accuracy was 95.5%, with 1.85 inaccuracies and 0.15 mistakes per game.
Game against GoK NNUE is next.
GoK NNUE (Medium, white) vs. GoK Classic, 99% vs. 95%:
https://lichess.org/aebZrUR2#131
- ElapElap
-
Scratcher
25 posts
Scratch Chess Engine - Game of Kings
ChessMaster 10th edition Morphy BOT vs GoK NNUE (Difficult, black), Gok won by resignation with 97% accuracy! (Morphy bot 96%)
https://lichess.org/study/OiuCt1wi/2oo65e4V
https://lichess.org/study/OiuCt1wi/2oo65e4V
- ArnoHu
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
ChessMaster 10th edition Morphy BOT vs GoK NNUE (Difficult, black), Gok won by resignation with 97% accuracy! (Morphy bot 96%)
https://lichess.org/study/OiuCt1wi/2oo65e4V
Cool game, thanks!
- Love_Mode
-
New Scratcher
4 posts
Scratch Chess Engine - Game of Kings
huh?just an fyi. lucasterzino is a 5 year old with autism. he's not intending to spamI reported youwhen this sprite clickedturn cw (900000.45e2) degrees:o [small][big][/big][/small]

- ababoin07
-
Scratcher
500+ posts
Scratch Chess Engine - Game of Kings
Sorry ^^ i didn’t knowhuh?just an fyi. lucasterzino is a 5 year old with autism. he's not intending to spamI reported youwhen this sprite clickedturn cw (900000.45e2) degrees:o [small][big][/big][/small]
- ArnoHu
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
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
TurboWarp
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/
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
- Connect 4 - “GoC”: https://scratch.mit.edu/projects/1114744709/ (by ArnoHu)
- Connect Four AI: https://scratch.mit.edu/projects/1109505895 (by BirdRacerThree)
- Connect 4 AI (GreenLocked): https://scratch.mit.edu/projects/42395968 (by PullJosh)
- Connect 4 AI: https://scratch.mit.edu/projects/802293688 (by Spentine)
- Online Connect 4: https://scratch.mit.edu/projects/685271634 (by AnotherKidOnScratch)
- Connect 4 vs. Computer: https://scratch.mit.edu/projects/16243147 (by A_big_cow)
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/
Last edited by ArnoHu (June 28, 2025 12:40:47)
- ababoin07
-
Scratcher
500+ posts
Scratch Chess Engine - Game of Kings
Connect 4 Bot Game SeriesReally cool!
. Here is the link to the original: https://scratch.mit.edu/discuss/post/8319884/
- WhiteDoveOfficial
-
Scratcher
38 posts
Scratch Chess Engine - Game of Kings
Connect 4 Bot Game SeriesReally cool!
. Here is the link to the original: https://scratch.mit.edu/discuss/post/8319884/
For sure!
- qwertycodechamp90411
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
Pretty slow, I can't tell you the exact details as I got a new (hopefully faster!) computer a few days ago.GoK NNUE (TurboWarp) defeats Komodo25 (Maximum on chess.com) with 93% accuracy: https://lichess.org/study/W1ILgEvv/JaonOiiP
Thanks, pretty cool!
One question, on which level did you play, and how fast is your system? Because GoK's mistake at move 43 is discarded after 12 seconds on my system.
About the connect 4, would it be feasible for a depth-21 engine (i.e. fully solved game) on scratch? It is much simpler than chess after all.
Also have you thought about chess variant engines on scratch? Atomic would be pretty cool.
- qwertycodechamp90411
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
GoC (turbowarp) lost to Fairy Stockfish (15sec/move) in 19 moves (GoC went first), can’t post the moves as the filter blocks it though (probably the spaces). I’ll try and share the game a different way later.
- ArnoHu
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
GoC (turbowarp) lost to Fairy Stockfish (15sec/move) in 19 moves (GoC went first), can’t post the moves as the filter blocks it though (probably the spaces). I’ll try and share the game a different way later.
You refer to Connect 4?
- qwertycodechamp90411
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
YepGoC (turbowarp) lost to Fairy Stockfish (15sec/move) in 19 moves (GoC went first), can’t post the moves as the filter blocks it though (probably the spaces). I’ll try and share the game a different way later.
You refer to Connect 4?
- qwertycodechamp90411
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
GoC (turbowarp) lost to Fairy Stockfish (15sec/move) in 19 moves (GoC went first), can’t post the moves as the filter blocks it though (probably the spaces). I’ll try and share the game a different way later.https://scratch.mit.edu/projects/1117149467/ (P@<square> means drop piece on that square)
It's worth noting that Fairy Stockfish doesn't play perfectly. In a 15sec/move game with FStockfish facing itself, the result was a draw.
- ArnoHu
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
GoC (turbowarp) lost to Fairy Stockfish (15sec/move) in 19 moves (GoC went first), can’t post the moves as the filter blocks it though (probably the spaces). I’ll try and share the game a different way later.https://scratch.mit.edu/projects/1117149467/ (P@<square> means drop piece on that square)
It's worth noting that Fairy Stockfish doesn't play perfectly. In a 15sec/move game with FStockfish facing itself, the result was a draw.
Thanks, very helpful. I replayed on my system, which is a fast notebook, and there GoC won that game. Up to move 12 everything was the same, but here GoC played P@a1 instead of P@g4, and saw its own win already at move 20. Now 12. P@g4 is the second best move, but it is not the shortest winning path. The real mistake is 13. P@a2. To sum up, search depth was missing on your system - had it been faster or with more think time, GoC would have won.
- sonicreal3
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
i dont play chess much but this is a crazy achievement
- ababoin07
-
Scratcher
500+ posts
Scratch Chess Engine - Game of Kings
i dont play chess much but this is a crazy achievementYeah
- qwertycodechamp90411
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
My solver says that 10. P@e6?? is the losing moveGoC (turbowarp) lost to Fairy Stockfish (15sec/move) in 19 moves (GoC went first), can’t post the moves as the filter blocks it though (probably the spaces). I’ll try and share the game a different way later.https://scratch.mit.edu/projects/1117149467/ (P@<square> means drop piece on that square)
It's worth noting that Fairy Stockfish doesn't play perfectly. In a 15sec/move game with FStockfish facing itself, the result was a draw.
Thanks, very helpful. I replayed on my system, which is a fast notebook, and there GoC won that game. Up to move 12 everything was the same, but here GoC played P@a1 instead of P@g4, and saw its own win already at move 20. Now 12. P@g4 is the second best move, but it is not the shortest winning path. The real mistake is 13. P@a2. To sum up, search depth was missing on your system - had it been faster or with more think time, GoC would have won.
- qwertycodechamp90411
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
Something I thought of, it would be nice to be able to disable castling in the FEN import on GoK
- ArnoHu
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
My solver says that 10. P@e6?? is the losing moveGoC (turbowarp) lost to Fairy Stockfish (15sec/move) in 19 moves (GoC went first), can’t post the moves as the filter blocks it though (probably the spaces). I’ll try and share the game a different way later.https://scratch.mit.edu/projects/1117149467/ (P@<square> means drop piece on that square)
It's worth noting that Fairy Stockfish doesn't play perfectly. In a 15sec/move game with FStockfish facing itself, the result was a draw.
Thanks, very helpful. I replayed on my system, which is a fast notebook, and there GoC won that game. Up to move 12 everything was the same, but here GoC played P@a1 instead of P@g4, and saw its own win already at move 20. Now 12. P@g4 is the second best move, but it is not the shortest winning path. The real mistake is 13. P@a2. To sum up, search depth was missing on your system - had it been faster or with more think time, GoC would have won.
You are right, but GoC does not play it on my system, instead 10. P@g2 (and on next move, it sees its own win), I was wrong stating it plays the same up to move 12, it was only up to 10.
- ArnoHu
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
Something I thought of, it would be nice to be able to disable castling in the FEN import on GoK
Yes, a known issue, will fix it soon.






