Mind map
Algorithm Challenges
Map content
Algorithm Challenges
Inputs
- eat / use
- eat bread
- use bread
- movement inputs
- north
- south
- east
- west
- pick up inputs
- pick up bread
- pick up sword
- Attack
- attack dragon
- Talk
- Talk to Baker
- eat / use
Outputs
- Restore 1 Health Points
- Receive Loaf of Bread
- 1 Damage to Dragon
Variables
- Bakery
- Player
- mapLoc and mapLocList
- Dragon
- Health
- equipment
Assignment
- 3 HEATLH POINTS
- mapLocList [0] to [15]
- equipment = [ ]
Conditions
- If playLoc is in Bakery and INPUT: Talk to Baker
Modularisation
- Definition of Eat Bread
- "You Cannot Do That"
- Else
Information
- Description
- Mind Map on Algorithm Challenges, created by Ryan Thomas on 29/04/2022.
- Created by
- Ryan Thomas · Apr 2022
- Updated
- Apr 29, 2022
- Views
- 0
- Rating