from random import choice
cave_numbers=range (0,20)
unvisited_caves=range(0,20)
visited_caves=[]
caves = setup_caves(cave_numbers)
visit_cave(0)
print_caves()
link_caves()
print_caves()
finish_caves()
wumpus_location=choice(cave_numbers)
player_location=choice(cave_numbers)
while player_location==wumpus_location:
player_location=choice(cave_numbers)
while True:
print_location=(player_location)
new_location=get_next_location()
if new_location is not None:
player_location=new_location
if player_location==wumpus_location:
print 'hahahahahhahha'
break
www说