Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -87,6 +87,9 @@ def minimax(board, depth, is_maximizing):
|
|
87 |
|
88 |
def play_tic_tac_toe(evt: gr.SelectData, board, game_over):
|
89 |
|
|
|
|
|
|
|
90 |
if evt.index is None:
|
91 |
return draw_board(board), "Invalid action! Please click on the board.", False
|
92 |
|
|
|
87 |
|
88 |
def play_tic_tac_toe(evt: gr.SelectData, board, game_over):
|
89 |
|
90 |
+
print(f"Event = {evt}")
|
91 |
+
print(f"Index = {evt.index}")
|
92 |
+
|
93 |
if evt.index is None:
|
94 |
return draw_board(board), "Invalid action! Please click on the board.", False
|
95 |
|