The_Official_Raspberry_Pi_-_Beginner’s_Book_Vol1,_2018 (1)

(singke) #1
Chapter 5 Programming with Python 119

THE OFFICIAL RASPBERRY PI BEGINNER’S GUIDE


5 Figure 5-21: Now the player knows what they need to do


CHALLENGE: EXPAND THE GAME
Can you add more rooms to make the game last longer?
Can you add an item to protect you from the monster?
How would you add a weapon to slay the monster? Can
you add rooms that are above and below the existing
rooms, accessed by stairs?
Free download pdf