awacke1 commited on
Commit
8c2755a
·
1 Parent(s): 7fe9dae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def play_game():
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
 
43
  if random.random() > 0.7:
 
37
  st.write("Welcome to the dungeon, {}.".format(adventure.name))
38
 
39
  while adventure.victory==False:
40
+ direction = st.selectbox(key="1", "Choose your next move:", ["North", "South", "East", "West"])
41
  adventure.move(direction)
42
 
43
  if random.random() > 0.7: