Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBarton446 committed Apr 7, 2024
1 parent 4483594 commit 3d4992a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shogi-ai/mcts_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _rollout(self, board_copy: Board, move: Move) -> int:
move = self._select_random_move(board_copy)
board_copy.push(move)

return _utility(board_copy)
return self._utility(board_copy)

def _utility(self, board_copy: Board):
if board_copy.is_checkmate():
Expand Down

0 comments on commit 3d4992a

Please sign in to comment.