Mapa mental
Algorithm Challenges
Conteúdo do mapa
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
Informações
- Descrição
- Mapa Mental sobre Algorithm Challenges, criado por Ryan Thomas em 29-04-2022.
- Criado por
- Ryan Thomas · abr 2022
- Atualizado
- 29 abr 2022
- Visualizações
- 0
- Avaliação