Forest of Lyrica Assessment Mindmap

Description

f
Findlay Ingram
Mind Map by Findlay Ingram, updated more than 1 year ago
Findlay Ingram
Created by Findlay Ingram about 2 years ago
38
0

Resource summary

Forest of Lyrica Assessment Mindmap
  1. Algorithm Challenge 1
    1. Player starts with backpack containing no items.
      1. When game starts, create empty array called 'backpack' which the player can add items to.
      2. Game map is a 4x4 grid.
        1. Create an array with 16 elements containing unique locations the player can travel to
          1. Make top row contain positions 0-3, 2nd row positions 4-7, 3rd row positions 8-11, and last row positions 12-15
          2. Player randomly starts in centre 4 squares
            1. Program chooses a random element from an array containing the index no. of the centre 4 squares
              1. Console returns the description of the corresponding map location for the player.
            2. Player starts with 3 health points.
              1. Create an integer variable called 'health' and set to 3.
            3. Algorithm Challenge 2
              1. Player inputs command
                1. Player input: eat bread
                  1. Check if backpack contains bread
                    1. Backpack contains bread
                      1. Output: “You eat the bread.”
                        1. Actions: Remove bread from backpack and increase player’s health by 1 (if not already at full health).
                        2. No bread in backpack
                          1. Output: “You are not carrying the bread.”
                            1. Actions: none
                        3. Player input: talk to baker
                          1. Check if player in bakery's map location
                            1. Player in bakery map location
                              1. Output: “The baker gives you a loaf of bread.”
                                1. Actions: Add bread to backpack.
                                2. Player not in bakery map location
                                  1. Output: “The baker is not here.”
                                    1. Actions: None
                            2. Algorithm Challenge 3
                              1. Game ends after player kills dragon.
                                1. Player input: attack dragon
                                  1. If dragon not in player's location
                                    1. Output: "the dragon is not here"
                                      1. Actions: none
                                      2. If dragon in player's location:
                                        1. Output: "The dragon wakes up and you begin to fight."
                                          1. Create variable containing dragon's health and set to 3.
                                            1. Begin a loop until dragons health reaches 0.
                                              1. Player inputs: 'use sword'
                                                1. If sword in backpack
                                                  1. Output: 'you hit the dragon'
                                                    1. Output: dragons health
                                                    2. Action: Remove 1 from dragons health.
                                                      1. 75% chance of dragon attacking back.
                                                        1. If dragon attacks back
                                                          1. Output: 'the dragon hit you back'
                                                            1. Action: remove 1 from players health
                                                            2. If dragon doesn't attack back.
                                                              1. Output: 'the dragon looks tired'
                                                                1. Action: none
                                                            3. If sword not in backpack
                                                              1. Action: none
                                                                1. Output: you don't have that item.
                                                              2. Player inputs: 'eat bread'
                                                                1. If bread in backpack
                                                                  1. Actions: Remove bread from backpack and increase player’s health by 1 (if not already at full health).
                                                                    1. Output: 'you ate the bread'
                                                                    2. If bread not in backpack
                                                                      1. Action: none
                                                                        1. Output: 'you have no bread'
                                                              Show full summary Hide full summary

                                                              Similar

                                                              Application of technology in learning
                                                              Jeff Wall
                                                              Biology AQA 3.1.5 The Biological basis of Heart Disease
                                                              evie.daines
                                                              Magnetism
                                                              joan.march
                                                              Animal Farm
                                                              010534
                                                              Input and Output Devices
                                                              Jess Peason
                                                              Sociological Research Methods
                                                              Jebbie
                                                              Chemistry 1
                                                              Peter Hoskins
                                                              Basic Immunology Principles
                                                              Robyn Hokulani-C
                                                              Chemical Reactions and Solutions
                                                              Adelene Somerville
                                                              SFDC App Builder (76-100)
                                                              Connie Woolard
                                                              New PSCOD Model Test 2018
                                                              David Thapa