Check end of the game with more precision
WIP MCTS