diff --git a/hw1/tictactoe/tictactoe.py b/hw1/tictactoe/tictactoe.py index 84dd370..e7385c9 100644 --- a/hw1/tictactoe/tictactoe.py +++ b/hw1/tictactoe/tictactoe.py @@ -165,7 +165,9 @@ def minimax(board): best_action = action return best_action - + """ + Helper function lol + """ def max_value(board): if terminal(board): return utility(board) @@ -174,7 +176,9 @@ def max_value(board): v = max(v, min_value(succ(board, action))) return v - + """ + Another helper function lol + """ def min_value(board): if terminal(board): return utility(board)