Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,10 +38,10 @@ def play_game():
|
|
38 |
|
39 |
while adventure.victory==False:
|
40 |
count=1
|
41 |
-
direction = st.selectbox('Choose your next move:', ('North', 'South', 'East', 'West'), key = count)
|
42 |
#direction = st.selectbox("Choose your next move:", ("North", "South", "East", "West"), key = count)
|
43 |
count = count + 1
|
44 |
-
adventure.move(
|
45 |
|
46 |
if random.random() > 0.7:
|
47 |
monster_name = "Goblin"
|
|
|
38 |
|
39 |
while adventure.victory==False:
|
40 |
count=1
|
41 |
+
#direction = st.selectbox('Choose your next move:', ('North', 'South', 'East', 'West'), key = count)
|
42 |
#direction = st.selectbox("Choose your next move:", ("North", "South", "East", "West"), key = count)
|
43 |
count = count + 1
|
44 |
+
adventure.move("North")
|
45 |
|
46 |
if random.random() > 0.7:
|
47 |
monster_name = "Goblin"
|