Changes

Jump to: navigation, search

Endgame Tablebases

3 bytes removed, 18:18, 18 April 2020
Searching
* Convert the endgame index into block index and retrieve the right data
==SearchingSearch==
After probing the chess engine may have the result as an integer number for the queried position. Depending on the metric, the number may be a distance to mate or distance to conversion, the position is a draw or a win or loss for the querying side. Sometimes that value (state of draw/win/loss) may be enough for searching. However, sometimes that state is not enough and it needs to know which is the best move to make. The solution is to generate all legal moves from that position, make one by one, probe that EGTB for values of each new position. After all, compare the values of all children's positions to find which one is the best to make.

Navigation menu