Haunted House – 1
The following will guide you through the development of a simple game. Other activities will add room, objects, inventories and enemies
Decomposition
Building a large project can be challenging. Breaking a complex problem into parts to allow it to be more easily understood and solve is called decomposition. It is the first stage of a skill called computational thinking.
1. Draw a map
The house plan, below, shows the plan of five rooms on the bottom floor of a haunted mansion. You are standing in the foyer and the front door has just slammed shut.

2. Decide on movements :
You are only able to enter one of the words: front, back, left, right.
3. Plan the possible actions and descriptions.
When a player selects a move, an appropriate message is displayed, as follows:

For you to do
TASK
– Your own basic game
STORY
– Make a general statement to set the scene for the user.
MAP
– In your book, draw a large map of your own – 5 rooms.
– Name each room and add a very short note about each room
MOVEMENTS
– Decide what movement words you will accept.
PLAN ACTIONS
– Create a table for rooms and actions
Done? Show your teacher and get a sticker! Do the challenge.