updated adventure.py so that we use conditional logic via variable