Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ def play_tic_tac_toe(evt: gr.SelectData, board, game_over):
|
|
| 89 |
if game_over:
|
| 90 |
return draw_board(board), "Game already finished! Please reset to play again.", True
|
| 91 |
|
| 92 |
-
print(evt)
|
| 93 |
|
| 94 |
r, c = evt.index[1] // 100, evt.index[0] // 100
|
| 95 |
if board[r][c] != "":
|
|
|
|
| 89 |
if game_over:
|
| 90 |
return draw_board(board), "Game already finished! Please reset to play again.", True
|
| 91 |
|
| 92 |
+
print(evt.index)
|
| 93 |
|
| 94 |
r, c = evt.index[1] // 100, evt.index[0] // 100
|
| 95 |
if board[r][c] != "":
|