Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def play_game():
|
|
36 |
adventure = Adventure(name)
|
37 |
st.write("Welcome to the dungeon, {}.".format(adventure.name))
|
38 |
|
39 |
-
while adventure.victory:
|
40 |
direction = st.selectbox("Choose your next move:", ["North", "South", "East", "West"])
|
41 |
adventure.move(direction)
|
42 |
|
|
|
36 |
adventure = Adventure(name)
|
37 |
st.write("Welcome to the dungeon, {}.".format(adventure.name))
|
38 |
|
39 |
+
while adventure.victory==False:
|
40 |
direction = st.selectbox("Choose your next move:", ["North", "South", "East", "West"])
|
41 |
adventure.move(direction)
|
42 |
|