Discuss Scratch
- Discussion Forums
- » Show and Tell
- » Scratch Chess Engine - Game of Kings
- birdracerthree
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
One of the main reasons that the agent wins quickly is that it has an attacking style. It doesn't care making some slightly unsound sacrifices to outsmart some selective move search botsMy new engine will be trying the exact same thing.
- ababoin07
-
Scratcher
500+ posts
Scratch Chess Engine - Game of Kings
My new engine will be also trying the exact same thing.One of the main reasons that the agent wins quickly is that it has an attacking style. It doesn't care making some slightly unsound sacrifices to outsmart some selective move search botsMy new engine will be trying the exact same thing.
- Mozboz
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
I'd love to make a chess bot on Scratch but I get stuck at the chess engine - I just usually can't be bothered to create a working board with move input and valid move detection, it'd take too long and I'd never get to the bot part.
- AZURUS41
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/ndaaUy7p#0
LA wins against Amarillo (20 secs)
LA wins against Amarillo (20 secs)
- ababoin07
-
Scratcher
500+ posts
Scratch Chess Engine - Game of Kings
I'd love to make a chess bot on Scratch but I get stuck at the chess engine - I just usually can't be bothered to create a working board with move input and valid move detection, it'd take too long and I'd never get to the bot part.Just learn programming. Creating a chess engine is a really impressive travel…

- AZURUS41
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/erMCniIA#0
LA 1.160 wins for the first time in a while against SB !
Perfect game with 97% accuracy
LA 1.160 wins for the first time in a while against SB !
Perfect game with 97% accuracy

- AZURUS41
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/E295fG4j#0
And it wins the pair with that second game at 92% accuracy
And it wins the pair with that second game at 92% accuracy
- HasiLover_Test
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/ndaaUy7p#0Please note, that Amarillo is always Unstable until I make the full release. This Version for example had broken Q-Search due to incorrectly Implemented Delta Pruning
LA wins against Amarillo (20 secs)

Last edited by HasiLover_Test (March 18, 2025 11:15:12)
- AZURUS41
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/nQevPiKH#0
LA 1.161 (beta) wins to SB again and is now in stable
LA 1.161 (beta) wins to SB again and is now in stable
- ababoin07
-
Scratcher
500+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/nQevPiKH#0LA stable??? It’s like saying that Destructor or ludoknight or turboknight can be stable…
LA 1.161 (beta) wins to SB again and is now in stable

- FastSkript
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/study/vUhinu2o/tPHiOHDq
The Agent Lv3 Romantic personality crushed Delta at move 15 and Delta glitched and stopped moving
Id be interested in a game where you run Delta on Turbowarp.
- ababoin07
-
Scratcher
500+ posts
Scratch Chess Engine - Game of Kings
I did just understand that Agent is the ElapElap's chess engine :skull:
- amaanshayaan
-
Scratcher
17 posts
Scratch Chess Engine - Game of Kings
I'm back to working on my bot, and I've decided to start with python, then implement the code into scratch afterwards. I have minmax, alpha-beta pruning, pst tables, pawn structure, king safety, and castling evaluation functions. What is the next step from here? From what I see, implementing a NNUE could work - I have experience with Resnets for image classification, but attempting to make a NNUE failed spectacularly. So outside of a NNUE, how can I improve the bot?
- HasiLover_Test
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
I'm back to working on my bot, and I've decided to start with python, then implement the code into scratch afterwards. I have minmax, alpha-beta pruning, pst tables, pawn structure, king safety, and castling evaluation functions. What is the next step from here? From what I see, implementing a NNUE could work - I have experience with Resnets for image classification, but attempting to make a NNUE failed spectacularly. So outside of a NNUE, how can I improve the bot?Have you tried improving the Move ordering? If not I'd recommend you look into History Moves and MVV-LVA
- birdracerthree
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
Hey, any suggestions for commands I should add in the terminal of my new engine?
- HasiLover_Test
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
Hey, any suggestions for commands I should add in the terminal of my new engine?>Think Time
- WhiteDoveOfficial
-
Scratcher
38 posts
Scratch Chess Engine - Game of Kings
Hey, any suggestions for commands I should add in the terminal of my new engine?>Think Time
lol, fair enough. Using ID (iterative deepening) is a huge improvement over just plain depth-limited search, as during more forced lines, it can gain a few ply. (It's probably also just a better user experience, for every move to have a predictable amount time-use.)
- ArnoHu
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
A lichess study with test games of current engines can be found at: https://lichess.org/study/mVCYS86Q/ishmrPqN
- AZURUS41
-
Scratcher
100+ posts
Scratch Chess Engine - Game of Kings
https://lichess.org/CSA3o0V1#0
Hasi istg please add at least a legal move detection
Yellow (Amarillo) played O-O-O and O-O in the same game
Anyways easy LA W
Hasi istg please add at least a legal move detection
Yellow (Amarillo) played O-O-O and O-O in the same game

Anyways easy LA W
- ArnoHu
-
Scratcher
1000+ posts
Scratch Chess Engine - Game of Kings
GoK Classic grinds down White Dove in 82 moves, great game to watch!
https://lichess.org/study/mVCYS86Q/5OkNcsW9
Both engines are able of threat detection, which gives them a competitive edge over other HCE engines.
https://lichess.org/study/mVCYS86Q/5OkNcsW9
Both engines are able of threat detection, which gives them a competitive edge over other HCE engines.








