Mind map
Algorithm Challenge
Map content
Algorithm Challenge
4x4 grid
- Spawn in random centre square.
- Position 5, 6, 9, 10
- Spawn within the middle 4 squares
- Position 5, 6, 9, 10
- Spawn in random centre square.
No equipment
- IF Backpack contains bread
- Player input: eat bread
- OUTPUT: "You eat bread."
- Remove bread from inventory
- IF Backpack doesn't contain bread
- OUTPUT: "You are not carrying the bread."
- NO ACTION
- OUTPUT: "You are not carrying the bread."
- OUTPUT: "You eat bread."
- Player input: eat bread
- IF Backpack contains bread
3 hp
- IF player hp = 0
- Send a message to the plater indicating that the player had died.
- Give an option to restart the game after they die
- Send a message to the plater indicating that the player had died.
- IF player hp = 0
Baker
- Player input: Talk to Baker
- OUTPUT: "The baker gives you a loaf of bread"
- If eaten will restore 1 hp
- Max 5 hp only eaten if not at full health
- If player's location is = to baker's location
- Player input: Talk to Baker
Dragon
- 3 health points
- 3 riddles right mean dragon is defeated
- 3 riddle
- IF answer is correct to the riddle
- Remove health point from Dragon
- IF health of dragon = 0
- Send a message to the player indicating that the dragon is dead
- IF health of dragon = 0
- Remove health point from Dragon
- IF answer is incorrect
- Remove health point from player
- Select at random from list of riddle
- IF answer is correct to the riddle
- 3 riddle
Information
- Description
- Mind Map on Algorithm Challenge, created by Patrick Sean on 19/04/2022.
- Created by
- Patrick Sean
- Views
- 0
- Rating