Mapa mental
Algorithm 3
Conteúdo do mapa
Algorithm 3
Criteria
- Add dragon
- Functions
- Dragon should attack
- Lose health points
- Arrays for dragon health or variables
- Dragon should have health points
- Should be able to hit dragon
- Hitting the dragon or missing could be randomized or in a pattern
- Lose health points
- Sword in a backpack
- Add dragon
Types of variables
- Local
- Global
- Player map location
- Dragon map location
- Player health
Algorithm types
- Assignment for variables like playerhealth
- Modularisation for functions like Dragonattack
- Repetiton for checking if the player is at the dragon
- Selection to check if dragon is dead
Ideas
- could have a dodge fuction that activates when the user inputs within a time limit
Informações
- Descrição
- Mapa Mental sobre Algorithm 3, criado por Hayden Lai em 26-02-2020.
- Criado por
- Hayden Lai
- Visualizações
- 0
- Avaliação