Ok! That's all you need to get started on your own adventure game! Go back to your game, and get it working nicely. Now we've got functions you should be able to make something with a bit more nesting - your functions don't have to be about fighting, nor do they have to work for multiple characters - just separating out the action from the nested if-statements will make the game clearer and enable you to write more nesting without confusion.
Give it a go.
In the next part, we'll have a look at a final technique that will avoid nesting altogether!
[Home > Part 4 > Part 5]