Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -195,7 +195,7 @@ class ConnectFour:
|
|
| 195 |
|
| 196 |
def format_game_state(self):
|
| 197 |
board_str = self.board_to_string()
|
| 198 |
-
available_positions = get_available_positions(board_str)
|
| 199 |
|
| 200 |
# Format player and AI moves
|
| 201 |
player_moves_str = ", ".join(self.player_moves) if self.player_moves else ""
|
|
|
|
| 195 |
|
| 196 |
def format_game_state(self):
|
| 197 |
board_str = self.board_to_string()
|
| 198 |
+
available_positions = get_available_positions(self.board )#board_str)
|
| 199 |
|
| 200 |
# Format player and AI moves
|
| 201 |
player_moves_str = ", ".join(self.player_moves) if self.player_moves else ""
|