Mindmap
Algorithim Challenges Mind Map
Inhalt der Mindmap
Algorithim Challenges Mind Map
Iteration
- The dragon should be defeated by attacking it 3 times or answering three riddles
Sequence
- eat bread
- eat bread -> you've eaten the bread -> remove the bread from backpack and player gets 1 health point
Selection
- no bread
Condition
- If player location = bakery and INPUT: Talk to baker
- Output : baker gives you a loaf of bread
Assignment
- 3 health points
Modularisation
- def eat bread
- else
- you can't do that
Inputs
- Eat bread
- attack dragon
- talk to baker
Outputs
- receive loaf of bread
- the baker gives you a loaf of bread
- you eat the bread
- damage to 1 dragon
Variables
- Player
- bakery
- 4x4 Map grid
- health point
- dragon (3 health points)
- maximum 5 health points
Action
- none
- add bread to backpack
- remove bread from backpack and increase play's health by 1 (if not already at full health)
Constraints
- Algorithim Challenges
- Only talking to baker
- Boss fight
- Having to eat the bread
- Setting up the map
- Maximum 5 health points
- Having to fight the dragon
- Psuedocode
- Time
- Documentation
- Algorithim Challenges
Informationen
- Beschreibung
- Queensland Certificate of Education Digital Solutions Mindmap am Algorithim Challenges Mind Map, erstellt von Juwanmandadige FERNANDO am 19/04/2022.
- Erstellt von
- Juwanmandadige FERNANDO
- Aufrufe
- 0
- Bewertung