Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,11 +52,11 @@ with expander:
|
|
52 |
if st.button('Place tile'):
|
53 |
# Check if the selected tile is in the rack
|
54 |
if tile in rack:
|
55 |
-
# Place the tile on the board
|
56 |
-
row -= 1
|
57 |
-
col -= 1
|
58 |
-
board[row][col] = tile
|
59 |
-
rack.remove(tile)
|
60 |
|
61 |
# Calculate the score for the word
|
62 |
word = ''
|
|
|
52 |
if st.button('Place tile'):
|
53 |
# Check if the selected tile is in the rack
|
54 |
if tile in rack:
|
55 |
+
# Place the tile on the board
|
56 |
+
row -= 1
|
57 |
+
col -= 1
|
58 |
+
board[row][col] = tile
|
59 |
+
rack.remove(tile)
|
60 |
|
61 |
# Calculate the score for the word
|
62 |
word = ''
|