From 06b26d644b8087e920683ea468dfc5caf760ec20 Mon Sep 17 00:00:00 2001 From: helpingstar Date: Fri, 22 Dec 2023 00:13:20 +0900 Subject: [PATCH] fix the comments for check_for_winner --- pettingzoo/classic/tictactoe/board.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pettingzoo/classic/tictactoe/board.py b/pettingzoo/classic/tictactoe/board.py index 5ca07670d..35186a57a 100644 --- a/pettingzoo/classic/tictactoe/board.py +++ b/pettingzoo/classic/tictactoe/board.py @@ -50,8 +50,8 @@ def calculate_winners(self): # returns: # -1 for no winner - # 0 -- agent 0 wins - # 1 -- agent 1 wins + # 1 -- agent 0 wins + # 2 -- agent 1 wins def check_for_winner(self): winner = -1 for combination in self.winning_combinations: