Created
October 20, 2017 19:33
-
-
Save DanielSlater/1f8ba91c1feb097ac6a6c9ebb56e0ce6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# select a random move | |
move = random.choice(moves) | |
result, next_move = monte_carlo_sample(apply_move(board_state, move, side), -side) | |
return result, move |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment