Mapa mental
Creating With Code
Contenido del mapa
Creating With Code
Variables
- Input
- Movement
- North
- Moving the player north on the map, continuing them through the game
- South
- Moving the player south on the map, continuing them through the game
- East
- Moving the player east on the map, continuing them through the game
- West
- Moving the player west on the map, continuing them through the game
- North
- Interaction
- Use
- Let's the player use an item if they have that item in their inventory.
- Take
- Allows player to take an item if that item is in their area.
- Use
- Movement
- Processing
- Movement
- If the player is can move in the specified direction, then move in that direction
- If the player cannot move past (edge of map), send blocked path message
- If the player is can move in the specified direction, then move in that direction
- Interaction
- If the player wants to pick up an item, and it is their area, then allow pickup.
- If the item is not in the players area, then show error message.
- If the player wants to use an item, and they have that item in the inventory, then allow player to use.
- If the player doesn't have the item in their inventory, show error message.
- If the player wants to pick up an item, and it is their area, then allow pickup.
- Movement
- Output
- Movement
- Possible Movement
- You move *direction input*. You can see _____
- worldMapLoc
- You move *direction input*. You can see _____
- Impossible Movement
- You can't go that way because ____
- BlockedPathMessage
- You can't go that way because ____
- Possible Movement
- Interaction
- Use
- Possible
- You use *item*
- Impossible
- You can't use that here.
- Possible
- Take
- Possible
- You pick up *item*
- Impossible
- That item isn't here.
- Possible
- Use
- Movement
- Input
Algorithm Constructs
- Assignment
- Assigning a variable to something; includes floats, integers and strings.
- Sequence
- The process of the algorithm. All of the steps involved in the algorithm.
- Selection
- If-Then-Else selectors
- Condition
- Testing to see if a condiiton is true (ie. Your age being 19)
- Iteration
- Do-While loop. Loops a sequence while a condiiton is true.
- Modularisation
- Deconstruction of algorithms into smaller pieces to make for easier reading.
- Assignment
Información
- Descripción
- Mapa Mental sobre Creating With Code, creado por Ronan Dutt el 04/03/2021.
- Creado por
- Ronan Dutt
- Visitas
- 0
- Valoración