Umm so I have a working system that allows chess play but without any actual board. So I need an AI to play against. I only have text based games such as
e4 e5
Nf3 Nc6 and so on
So can somebody code me an AI that allows play and analysis?
Smart ais would be gimpossible, unless you make individual smart moves for every possible scene on the board and record them, i dont think you can do that
I just need to see if I can make something that sees all the moves now and in the future and choose the best one. Somehow.
Before we get carried away and start theorizing, this isn’t possible. 75 blocks is not enough for a whole chess AI.
That’s like saying :
“how do i get a potato to run minecraft”
AI isn’t possible and it would be heard to recreate every single scenario in chess if you were trying to do this method well don’t.
According to goole their is 10 to the power of 120 different possible combinations.
I don’t know why but I thought their would be more eventhough its a massive numebr itself.
This wouldn’t be possible in gimkit unless you had a lot of storage
edit(even if this is possible it would take months to make)
Wouldnt multiple triggers work?
If not then yeah it’s gimpossible
Oh wait I just need node coding.
I have like 70 memory left. So I might have enough
Regular chess ais work by: look all pieces, and all possibilities, lets see which move has the least possibilities of losing, yes, as they all said, it just will not fit
Seeing all current moves:possible
Make an urgent move that protects king: possible
Ai that chooses a random available move: semi-possible
Ai that actually plays the game: gimpossible
Now I have an Idea. Can I just code strategies and move options and give it to the AI and then make it see the posistion and figure out the best move?
what Ai are you talking about?
Like the stockfish ai on chess . Com
You can make an ai that only knows one strategy and see if its available and does a random move if it cant, and does urgent moves to prevent check
But seeing enemy moves and finding the best is just too much
A chess engine in gimkit would not be possible.
Gimkit’s blocks are very limited, and could not be able to carry out intense functions and board evaluations, much less move searches, alpha beta pruning, quiescence search, and more.
On more complex coding platforms, yes even Scratch, this is definitely possible. In fact, I’m even making my own chess engine on Scratch currently, and they can get up to over 2000 elo on Turbowarp given plenty of time and effort.
But back to the main point, there’s no possibility to make a chess engine. And you keep mentioning a “chess AI”, well there’s no way to make a learning computer in Gimkit, and it would be impossible to upload NNUE data into Gimkit like you could in Scratch.
Short answer: no.
Figured it out. Thanks for the help. Gonna do it now.
Small question:
Can you calculate the pawn defence to king castling analysis bar value?
Uhh…
Assuming they castled kingside, you could run some simple checks:
- Pawn at f2
- Pawn at g2 or g3
- Pawn at h2 or h3
- Not pawn at g3 and h3
Something like that.
The value of this depends, but I’d say king safety is worth about 1.5~2 pawns. This value could increase by multiplying it by say the development level of your opponent or if their queen is on the kingside.
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.