Making Functions
Today, start off by looking at your outline and define functions with the names of each of your rooms. In addition, make a game over, start, and a win function. You can go back to day 2 if you do not remember how to create functions. Once you are done, check in with Shriya.
Once you have done that, write the choices that show up in each of your rooms using print statements. Create a welcome message in your start function, a win message in your win function, and a game over message in your game over function.
Next, I would like you to make input statements for all of your rooms that ask the user what choice they would like to make. Then, utilize if, elif, and else statements to send the user where they need to go accordingly.
If you are struggling, you can look at the "Example" tab.
Last updated