mcts icon indicating copy to clipboard operation
mcts copied to clipboard

How to use the library for chess

Open lekhachuy08 opened this issue 6 years ago • 1 comments

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?

lekhachuy08 avatar Aug 04 '18 05:08 lekhachuy08

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.

inejc avatar Aug 07 '18 07:08 inejc