null
US
Entrar
Registre-se gratuitamente
Registre-se
Detectamos que o JavaScript não está habilitado no teu navegador. Habilite o Javascript para o funcionamento correto do nosso site. Por favor, leia os
Termos e Condições
para mais informações.
Próximo
Copiar e Editar
Você deve estar logado para concluir esta ação!
Inscreva-se gratuitamente
36339276
Forest of Lyrica Assessment Mindmap
Descrição
f
Sem etiquetas
a level
Mapa Mental por
Findlay Ingram
, atualizado more than 1 year ago
Mais
Menos
Criado por
Findlay Ingram
mais de 2 anos atrás
38
0
0
Resumo de 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'
Quer criar seus próprios
Mapas Mentais
gratuitos
com a GoConqr?
Saiba mais
.
Semelhante
Vocabulário de Espanhol
Debis
Princípios da Administração pública
Jay Benedicto
Expressões em inglês #2
Eduardo .
Equações do 1o grau
Rosana Guimarães Brito
Brasil Colônia
Andreia Pinheiro
Arte do Renascimento Séc.XV - XVI
paulaqueiroz
Mapa Mental - Algoritmos e Programação
Marcos Santos2025
EA-HSG-2015 Questões achadas no app QUIZADA na playstore
carloshenriquetorrez .
Políticas públicas educacionais no Brasil: tecendo fios
Gabriela Melliss
Conceitos Básicos - Genética
João Martins
NODAM
carloshenriquetorrez .
Explore a Biblioteca