GoConqr has a new look! Let us know what you think.

Mind map

Algorithm 3

Hayden Lai English

Map content

Algorithm 3

  1. Criteria

    • Add dragon
      • Functions
    • Dragon should attack
      • Lose health points
        • Arrays for dragon health or variables
      • Dragon should have health points
      • Should be able to hit dragon
        • Hitting the dragon or missing could be randomized or in a pattern
    • Sword in a backpack
  2. Types of variables

    • Local
    • Global
      • Player map location
      • Dragon map location
      • Player health
  3. Algorithm types

    • Assignment for variables like playerhealth
    • Modularisation for functions like Dragonattack
    • Repetiton for checking if the player is at the dragon
    • Selection to check if dragon is dead
  4. Ideas

    • could have a dodge fuction that activates when the user inputs within a time limit

Information

Description
Mind Map on Algorithm 3, created by Hayden Lai on 26/02/2020.
Created by
Hayden Lai
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?