Mapa mental
Algorithm challenges
Conteúdo do mapa
Algorithm challenges
challenge 2
- If the player talks to the baker he will give the player a loaf of bread. If the player eats the bread 1 health point is restored (up to a maximum health of 5).
- input
- Player input: eat bread
- player input: talk to baker
- output
- Output: “You eat the bread.” Actions: Remove bread from backpack and increase player’s health by 1 (if not already at full health).
- Output: “You are not carrying the bread.” Actions: none
- Output: “The baker gives you a loaf of bread.” Actions: Add bread to backpack
- Output: “The baker is not here.” Actions: None
- location options
- Backpack contains bread
- No bread in backpack
- Player in bakery map location
- player not in bakery map location
- algorithm constructs
- condition
- if the player eats a bread. Remove bread from backpack and increase player’s health by 1
- selection
- increase health
- remain same health
- modularisation
- a function of eat a loaf of bread
- condition
- input
- If the player talks to the baker he will give the player a loaf of bread. If the player eats the bread 1 health point is restored (up to a maximum health of 5).
challenge 1
- The player begins in one of the centre squares of a 4 x 4 map grid with no equipment and 3 health points.
- input
- west
- east
- south
- north
- output
- i don't understand that
- description of the location is display
- the way is blocked
- algorithm constructs
- assignment
- the centre squares of a 4x4 map grid
- no equipment
- 3 health points
- sequence
- enter north, west,east, and south to explore
- iteration
- it will repeat "the way is blocked" if the player is moving outside the boundary
- modularisation
- function of north,sotuh,west,east
- assignment
- input
- The player begins in one of the centre squares of a 4 x 4 map grid with no equipment and 3 health points.
challenge 3
- The aim of this text based adventure game is to defeat the dragon. As the game developer you can choose whether the dragon should be defeated by attacking it 3 times with a sword or by answering 3 riddles correctly
- input
- respond of riddle 1
- respond of riddle 2
- respond of riddle 3
- output
- correct
- damage the dragon successfully
- the amount of answer its correct
- incorrect
- hints of the riddle
- warning
- correct
- algorithm constructs
- condition
- the riddle answers correctly
- the riddle answers incorrectly
- selection
- create damage
- lose one chance
- assignment
- the riddles and answer
- condition
- input
- The aim of this text based adventure game is to defeat the dragon. As the game developer you can choose whether the dragon should be defeated by attacking it 3 times with a sword or by answering 3 riddles correctly
map layout
- 0. "stone keep"
- 1. well
- 2.sunny glade
- 3.sleeping dragon
- 4.path
- 5.ancient gate
- 6. river's edge
- 7.wooden bench
- 8. animal location 1
- 9.cave
- 10. breadshop
- 11.furry animal location 2"
- 12.animal location 2
- 13.breadshop
- "furry animal location 4"
14.lake
characters involve
- animals
- furry animals
- dragon
- baker
- player
Informações
- Descrição
- Mapa Mental sobre Algorithm challenges, criado por Lai Mann em 21-04-2022.
- Criado por
- Lai Mann · abr 2022
- Atualizado
- 26 abr 2022
- Visualizações
- 0
- Avaliação