The lines that print out the options would go below the "your options are" line. What happens when the user selects an option would go after that option's IF ... THEN, or at the label pointed to by the IF ... THEN. However, this may lead to a very large program. Maybe a better idea would be to map out all the data for each room and write generic functions to present the data and control the flow.