How does chess engines work ?

374 views

I know there’s different depths but I don’t know what any of it means.

In: 0

8 Answers

Anonymous 0 Comments

Traditional chess engines has 2 main functions in it.

The first is the evaluation. This is where you look at the board and you count all the pieces, king safety, passed pawns and all such things and give them a score.

Second is the calculation. Here the computer finds reasonable moves that makes sense and see how they do versus reasonable counter moves, and then reiterates with new possible moves and counter moves, all this goes into insane depth, something like 16-22 moves in advance. Here it becomes like a tree, one move gives opponent say 5 counter moves, for each countermove there’s 5 new moves, and those moves have countermoves, so the amount of calculation increases exponentially for each move you go deeper.

Because of the amount of possible moves and countermoves is very relevant to complexity, the chess engines are a lot stronger the more simplified the positions become.

For AI engines they are a lot different, it’s basically a blackbox of computation wizardry

You are viewing 1 out of 8 answers, click here to view all answers.