Skip to content

Commit

Permalink
add "AI move" print line
Browse files Browse the repository at this point in the history
  • Loading branch information
MingxuZhang committed Mar 15, 2018
1 parent 6b62234 commit 7360b17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mcts_alphaZero.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ def get_action(self, board, temp=1e-3, return_prob=0):
move = np.random.choice(acts, p=probs)
# reset the root node
self.mcts.update_with_move(-1)
# location = board.move_to_location(move)
# print("AI move: %d,%d\n" % (location[0], location[1]))
location = board.move_to_location(move)
print("AI move: %d,%d\n" % (location[0], location[1]))

if return_prob:
return move, move_probs
Expand Down

0 comments on commit 7360b17

Please sign in to comment.