mcts
mcts copied to clipboard
How to use the library for chess
I have a problem when trying to use this library for chess because getTerminalStateByPerformingSimulationFromState try to reach the end game; however, this is not feasible when it comes to chess. Can you show me how to write the getTerminalStateByPerformingSimulationFromState for chess?
Hey. I don't understand what exactly you mean by not feasible. The function should "play" the game from any state to the end and return that end (terminal) state. The naive approach would be to choose all the actions randomly, although some simple heuristics should improve the speed and quality of the decisions.