

The result of the endgame tablebases, all the positions have 472,900 positions for checkmate. After comparing the result with three methods, the findings showed that this research is most effective, which can be explained as follows: 1) winning rate is 100 percentage 2) the average number of times it took to win by checkmate is 34 moves 3) the average time per move counted at 10, 15, 20 moves are 3.908, 3.695, 3.400 second and 4) the average length of checkmate per game is 84.658 second. Afterward the results were compared with three methods consisting of 1) Quiescence search 2) Prorp program (adapted from Stockfish) and 3) National Thai chess players. The researcher tested the program by competing with Senior Soft Thai Chess Master V3 of 100 games and recorded the results in 4 parts: 1) winning rate 2) the average number of times it took to win by checkmate 3) the average time per move counted at 10, 15, 20 moves and 4) the average length of checkmate per game. Iterative Deepening Depth-First Search with a depth of 10 was used to evaluate the heuristic. Alpha-beta pruning was applied in this study. The heuristic designed in King-Knight-Queen-King Pattern consists of 5 tables as follows: 1) King Distance Table 2) Black King Table 3) White King Table 4) White Knight Table and 5) White Queen Table. The chasing side includes a King, a Knight, and a Queen, whereas the other has only a King (a total of four pieces). This research aims to develop the endgame tablebases and design the heuristic for playing Thai chess in King-Knight-Queen-King Pattern. You can see how each of the legal moves affect the outcome of the game.คณะวิศวกรรมศาสตร์ สถาบันเทคโนโลยีพระจอมเกล้าเจ้าคุณทหารลาดกระบังĭepartment of Computer Engineering, School of Engineering, King Mongkut's Institute of Technology LadkrabangĪlpha-beta pruning, Heuristic, Endgame tablebases, Thai chess Abstract The tool will show you the game's outcome with best play by both sides and how it changes after each available legal move.įinally, you can click any of the moves to see how this affects the outcome of the game. Playing gxf5 would draw the game, while every other move would make them lose. White must play g5, as this is the only winning move in this position. It'll also list all the moves that win, draw, or lose. Once you have an endgame position and go to the Tablebase tab, this is what you'll see: This is what you'll see when you click the Tablebase tab.Īs you can see, the tablebase shows that this position is a win for White. Let's look at an example to understand what that means.
#7 MEN CHESS ENDGAME TABLEBASE HOW TO#
How To Understand The Tablebase AssessmentĬ's tablebase will instantly show you the outcome for any position displayed, with best play by both sides. It's easy to set up a position to analyze using the tablebase. After you get the position you want, you simply hit "Load" and go to the Tablebase tab. Once you're there, you can click the "Setup" option, clear the board, and add the position you want like you normally would. If you're studying specific endgames and you want to check the tablebase, that's also very simple to do! The first step is to go to the Analysis page. You can easily analyze the endgames you've played with the tablebase feature. Once your game reaches an endgame with seven pieces at the most, the Tablebase tab will be available to you. Since this feature is part of our Analysis page, this means that you can instantly analyze your games with it. You can find the new tablebase feature on our Analysis page. The tablebase option will appear to you on the Analysis page every time there are seven or fewer pieces on the board. It's easy to consult tablebases to learn how to play any specific endgame.

Tablebases are a database of precalculated endgame positions.
