null
US
Iniciar Sesión
Regístrate Gratis
Registro
Hemos detectado que no tienes habilitado Javascript en tu navegador. La naturaleza dinámica de nuestro sitio requiere que Javascript esté habilitado para un funcionamiento adecuado. Por favor lee nuestros
términos y condiciones
para más información.
Siguiente
Copiar y Editar
¡Debes iniciar sesión para completar esta acción!
Regístrate gratis
36339276
Forest of Lyrica Assessment Mindmap
Descripción
f
Sin etiquetas
a level
Mapa Mental por
Findlay Ingram
, actualizado hace más de 1 año
Más
Menos
Creado por
Findlay Ingram
hace alrededor de 2 años
38
0
0
Resumen del Recurso
Forest of Lyrica Assessment Mindmap
Algorithm Challenge 1
Player starts with backpack containing no items.
When game starts, create empty array called 'backpack' which the player can add items to.
Game map is a 4x4 grid.
Create an array with 16 elements containing unique locations the player can travel to
Make top row contain positions 0-3, 2nd row positions 4-7, 3rd row positions 8-11, and last row positions 12-15
Player randomly starts in centre 4 squares
Program chooses a random element from an array containing the index no. of the centre 4 squares
Console returns the description of the corresponding map location for the player.
Player starts with 3 health points.
Create an integer variable called 'health' and set to 3.
Algorithm Challenge 2
Player inputs command
Player input: eat bread
Check if backpack contains bread
Backpack contains bread
Output: “You eat the bread.”
Actions: Remove bread from backpack and increase player’s health by 1 (if not already at full health).
No bread in backpack
Output: “You are not carrying the bread.”
Actions: none
Player input: talk to baker
Check if player in bakery's map location
Player in bakery map location
Output: “The baker gives you a loaf of bread.”
Actions: Add bread to backpack.
Player not in bakery map location
Output: “The baker is not here.”
Actions: None
Algorithm Challenge 3
Game ends after player kills dragon.
Player input: attack dragon
If dragon not in player's location
Output: "the dragon is not here"
Actions: none
If dragon in player's location:
Output: "The dragon wakes up and you begin to fight."
Create variable containing dragon's health and set to 3.
Begin a loop until dragons health reaches 0.
Player inputs: 'use sword'
If sword in backpack
Output: 'you hit the dragon'
Output: dragons health
Action: Remove 1 from dragons health.
75% chance of dragon attacking back.
If dragon attacks back
Output: 'the dragon hit you back'
Action: remove 1 from players health
If dragon doesn't attack back.
Output: 'the dragon looks tired'
Action: none
If sword not in backpack
Action: none
Output: you don't have that item.
Player inputs: 'eat bread'
If bread in backpack
Actions: Remove bread from backpack and increase player’s health by 1 (if not already at full health).
Output: 'you ate the bread'
If bread not in backpack
Action: none
Output: 'you have no bread'
Mostrar resumen completo
Ocultar resumen completo
¿Quieres crear tus propios
Mapas Mentales
gratis
con GoConqr?
Más información
.
Similar
Esquema de los Reyes Católicos♚♛
maya velasquez
Capítulo II. Ciclo de vida del proyecto
molo544
Test de Matemáticas
Diego Santos
Fechas Históricas del Siglo XX
Diego Santos
Fichas de Grandes Filósofos
maya velasquez
Inglés para Selectividad
Diego Santos
Códigos de la principales aerolíneas
Diego Santos
Tipos de funciones
Karla Leyva
Estrategia de promoción y publicidad
Jose Seid TorresOsorio
Test de Radicales 1 sencillo
MANUEL LUIS PÉREZ SALAZAR
CUADRO SINÓPTICO DE LOS TRASTORNOS DE LA PERSONALIDAD
Luz Contreras
Explorar la Librería