Discuss Scratch

ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

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
9 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
ArnoHu
Scratcher
1000+ posts

Scratch Chess Engine - Game of Kings

ElapElap wrote:

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

lucastezino wrote:

Love_Mode wrote:

ababoin07 wrote:

lucastezino wrote:

when this sprite clicked
turn cw (900000.45e2) degrees
:o                                                                                      [small][big][/big][/small]
I reported you
just an fyi. lucasterzino is a 5 year old with autism. he's not intending to spam
huh?
ababoin07
Scratcher
500+ posts

Scratch Chess Engine - Game of Kings

Love_Mode wrote:

lucastezino wrote:

Love_Mode wrote:

ababoin07 wrote:

lucastezino wrote:

when this sprite clicked
turn cw (900000.45e2) degrees
:o                                                                                      [small][big][/big][/small]
I reported you
just an fyi. lucasterzino is a 5 year old with autism. he's not intending to spam
huh?
Sorry ^^ i didn’t know
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
Starting 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

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.ezproxyberklee.flo.org/discuss/post/8319884/

Last edited by ArnoHu (Jan. 6, 2025 09:17:45)

ababoin07
Scratcher
500+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

Connect 4 Bot Game Series
. Here is the link to the original: https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/post/8319884/
Really cool!
WhiteDoveOfficial
Scratcher
25 posts

Scratch Chess Engine - Game of Kings

ababoin07 wrote:

ArnoHu wrote:

Connect 4 Bot Game Series
. Here is the link to the original: https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/post/8319884/
Really cool!

For sure!
qwertycodechamp90411
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

qwertycodechamp90411 wrote:

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.
Pretty slow, I can't tell you the exact details as I got a new (hopefully faster!) computer a few days ago.

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

qwertycodechamp90411 wrote:

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

ArnoHu wrote:

qwertycodechamp90411 wrote:

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?
Yep
qwertycodechamp90411
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

qwertycodechamp90411 wrote:

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.ezproxyberklee.flo.org/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

qwertycodechamp90411 wrote:

qwertycodechamp90411 wrote:

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.ezproxyberklee.flo.org/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

sonicreal3 wrote:

i dont play chess much but this is a crazy achievement
Yeah
qwertycodechamp90411
Scratcher
100+ posts

Scratch Chess Engine - Game of Kings

ArnoHu wrote:

qwertycodechamp90411 wrote:

qwertycodechamp90411 wrote:

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.ezproxyberklee.flo.org/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.
My solver says that 10. P@e6?? is the losing move
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

qwertycodechamp90411 wrote:

ArnoHu wrote:

qwertycodechamp90411 wrote:

qwertycodechamp90411 wrote:

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.ezproxyberklee.flo.org/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.
My solver says that 10. P@e6?? is the losing move

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

qwertycodechamp90411 wrote:

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.

Powered by DjangoBB