Forest of Lyrica Assessment Mindmap

Beschreibung

f
Findlay Ingram
Mindmap von Findlay Ingram, aktualisiert more than 1 year ago
Findlay Ingram
Erstellt von Findlay Ingram vor mehr als 2 Jahre
38
0

Zusammenfassung der Ressource

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'
                                                              Zusammenfassung anzeigen Zusammenfassung ausblenden

                                                              ähnlicher Inhalt

                                                              Klausurfragen aktuell
                                                              Anne Malten
                                                              Französisch Zeitformen
                                                              Salome Guldener
                                                              Streitstände - Strafecht
                                                              myJurazone
                                                              Dramenanalyse
                                                              sysa
                                                              IKA-Theoriefragen Serie 19 (15 Fragen)
                                                              IKA ON ICT GmbH
                                                              Purchase -to -Pay Geschäftsprozess
                                                              zok42.com
                                                              Sops EURO-FH B.Sc.
                                                              ??? ???
                                                              SQ3- Sei dabei! :)
                                                              B G
                                                              Vetie Mikrobiologie 2010
                                                              Juliane Arendt
                                                              FOLO (PuKW STEOP B)
                                                              Lara Gundacker
                                                              vetie Para 2016
                                                              Anne Heyne