Mapa mental
ALGORITHM CHALLENGE #1
Contenido del mapa
ALGORITHM CHALLENGE #1
Output
- User's Map Location
- 'You see' describeLocation
- Using this statement, the output will describe the location of the map
- If mapLoc = 5
- If m
- 'You see' describeLocation
- User's Map Location
Processing Variables
- The algorithm challenge uses the randomised integer as a processing variable
- Randomises number from range of 0-15
- If randomised number is 5, 6, 9 or 10, the function will continue, otherwise the process repeats
- Randomises number from range of 0-15
- The algorithm challenge uses the randomised integer as a processing variable
Algorithm constructs
- Condition
- Assignment
- Declares a value for a variable
- The current Map Location of the user is given a value when random integer is equal to 5,6,9 or 10
- Declares a value for a variable
- Iteration
- Selection
- Condition
Input
- Player types 'start' or 'game start'
- This input will prompt the starting Location function to be executed before the player is able to move on the map.
- Player types 'start' or 'game start'
Información
- Descripción
- Year 11 Digital Technologies Mapa Mental sobre ALGORITHM CHALLENGE #1, creado por Khaifer Milan el 15/02/2021.
- Creado por
- Khaifer Milan
- Visitas
- 0
- Valoración