Mapa mental
Text-Adventure game
Contenido del mapa
Text-Adventure game
Game Theme
- Enchanted Forest
- Items
- Sword
- Rope
- Lightbulb
- Characters
- 2 NPC characters that can communicate
- Can give up to 5 hints from random hint list
- Rerpresentation
- Text Description for each location on map
- Map visually displayed at ASCII art
- Items
- Enchanted Forest
Data Types
- String
- String data typically stores a sequence of elements usually a series of characters
- Uss in code: To create the statements to introduce the locations on map
- String data typically stores a sequence of elements usually a series of characters
- Boolean
- Boolean data is a data with 2 possible values being TRUE or FALSE
- Uses in code: Riddles to pick up the items would be made with boolean
- Boolean data is a data with 2 possible values being TRUE or FALSE
- Array
- A user-defined data type consisting of an ordered set of elements
- Uses in code: To create the 5x5 grid for map
- A user-defined data type consisting of an ordered set of elements
- String
Local and Global Variables
- Global Variables
- 3 Lives
- Player loses if all lives are lost
- Backpack
- Player begins with no items and collects items from the map to use
- Map
- 5x5 Grid
- Variables that ae defined outside a function meaning that they can be accessed inside and outside a function
- 3 Lives
- Local Variables
- NPC
- Abandoned Souls
- Lonley sailor
- Ghost miner
- list of 5 random hints
- Variables that are defined inside a function meaning that they can only be accesssed inside that function
- NPC
- Global Variables
Data strcutures
- Condition
- Condition is when a computer uses a statement to make decisions based on a criterion
- Sequence
- Sequence algorithm is the algorithm construct where instructions are performed in a sequence one after another.
- Iteration
- Iteration logic is when a loop is used. This means that one instruction may be repeated several times depending on a condition.
- Assignment
- Assignment is an algorithm construct where a value is assigned to a variable usually to be used in later instructions
- Selection
- Selection logic is used for making decisions. This is shown using IF, THEN, ELSE statements.
- Condition
Información
- Descripción
- Mapa Mental sobre Text-Adventure game, creado por Shawn The Sheep el 17/04/2024.
- Creado por
- Shawn The Sheep · abr 2024
- Actualizado
- 24 may 2024
- Visitas
- 0
- Valoración