Mindmap
Algorithm Challenges
Inhalt der Mindmap
Algorithm Challenges
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
- directions
- North
- South
- East
- West
- directions
- Output
- Layout of the map
- Related algorithm structures
- Assignment
- Sequence
- Modularisation
- Pseducode
- DEFINE
- SET
- Purpose
- The part of cartographic design that involves assembling various map elements on a page.
- Related algorithm structures
- Layout of the map
- 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 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
- Eat bread
- Talk to baker
- Output
- You eat the bread
- The baker gives you a loaf of bread
- Add the bread into the inventrory
- Pseudocode
- ADD
- DEFINE
- SET
- IF
- ELSE
- Declare
- Pseudocode
- Add the bread into the inventrory
- Layout of the map
- 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 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
- Dragon health
- Full health with 3 hearts
- Dragon health
- Output
- Aim is to hit the dragon three times
- Related algorithm structures
- Iteration
- Assignment
- Condition
- Selection
- Sequence
- Modularisation
- Related algorithm structures
- Map Layout
- Purpose
- The part of cartographic design that involves assembling various map elements on a page.
- Psuedocode
- SET
- DEFINE
- Purpose
- Aim is to hit the dragon three times
- 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.
Informationen
- Beschreibung
- Mindmap am Algorithm Challenges, erstellt von Neil Dudhatra am 21/04/2022.
- Erstellt von
- Neil Dudhatra
- Aufrufe
- 0
- Bewertung