Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def parse_coordinate_list(board_str: str) -> List[List[str]]:
|
|
82 |
into a 6x7 grid (list of lists) with row index 0 as the bottom.
|
83 |
"""
|
84 |
grid = [['.' for _ in range(7)] for _ in range(6)]
|
85 |
-
if not board_str.strip()
|
86 |
return grid
|
87 |
coords = board_str.split(",")
|
88 |
for coord in coords:
|
|
|
82 |
into a 6x7 grid (list of lists) with row index 0 as the bottom.
|
83 |
"""
|
84 |
grid = [['.' for _ in range(7)] for _ in range(6)]
|
85 |
+
if not board_str.strip():
|
86 |
return grid
|
87 |
coords = board_str.split(",")
|
88 |
for coord in coords:
|