awacke1 commited on
Commit
ed9ac4d
·
1 Parent(s): acb365d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -38,7 +38,8 @@ 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
  count = count + 1
43
  adventure.move(direction)
44
 
 
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(direction)
45