Goblin Hunt >>> Lesson 2: Setting up the game



So far in Lesson 1 we haven't done much except for preparing a welcoming text and asking the player for their name. Let's start setting up the game now.

The goblin will be hiding in our kitchen cupboards. In this very simple example we will not worry about pretty graphics, so we can depict the kitchen cupboards using a string of characters as follows. Add these two lines of code to the three you wrote in Lesson 1 (it's best to leave a blank line before them for clarity):

cupboard_door = "|_||_||_||_||_|"

print(cupboard_door)