Mind map
Text-based Adventure Game
Map content
Text-based Adventure Game
Prescribed criteria
- Algorithms
- AC1: algorithm of player spawning in a random Center square of a 4x4 map with 3hp
- Possible functions
- Random spawning in center squares of map grid: At the start of the game, randomly select one of the center squares as the player's location.
- Possible functions
- AC2: baker gives player a loaf of bread when interacted with
- Possible functions
- Interact function: When player inputs command talk or interact, interacts with the selected target only if target is in the player's current map location
- Possible functions
- AC3: Defeat final boss dragon by answering all 3 riddles correctly
- Possible function
- Riddle function: Output riddle, if player's input is equal to the answer of the riddle, proceed to the next riddle, else game over. If player answers all 3 riddles corrects, the dragon is defeated.
- Possible function
- Variables
- input
- playersInput=input("Enter your answer please. ")
- output
- print("")
- input
- Constructs
- IF --> THEN --> ELSE
- WHILE
- FOR
- AC1: algorithm of player spawning in a random Center square of a 4x4 map with 3hp
- Program
- PC1: Movement in the map grid
- Functions
- Go(direction)
- when player inputs command go north, If player not in top row of map grid, player go up one square, else print error message. Apply to all directions including north south east west.
- Go(direction)
- Functions
- PC2: Spawn furry animals in forest which gives game hints or weather report if interacted with
- Functions
- Tsunami: when the function is called up from a weather report, randomly relocates all animals and item in map
- Interaction with Animals: When any of the furry animals are talked to, gives reply randomly selected from a list of weathers and game hints. Run Tsunami function if a tsunami weather report is replied
- Functions
- PC1: Movement in the map grid
- Non functional
- Design of game map
- NPC designs
- Names
- Purpose
- Behavior
- Language choice of game
- Algorithms
Self determined criteria
- SC1: Shopping in different map locations
- Possible functions
- Shop: each shop is located in different map locations and sell different things. Player is only able to buy the item if having enough money, the item would be added to the player's bag if successfully bought
- Variables
- Input: playersInput=input("")
- Output: print("")
- Process: money, bag, cost
- Variables
- Shop: each shop is located in different map locations and sell different things. Player is only able to buy the item if having enough money, the item would be added to the player's bag if successfully bought
- Possible functions
- SC2: Side quests
- Side Quests: runs story line when player interacts with a specific NPC
- SC3: Cheat codes
- Cheat cods: Shortcut to achieve different things in the game such as wealth and strength
- SC1: Shopping in different map locations
Possible Limitations
- Multiple Exams and Assessment going on at the same time
- Lack of knowledge in some areas
- Poor time management
Ideas not used
- POST game
- More boss in different locations
- Megalodon in sea
- Silk spider at graveyard
- Techniques (such as flight, or swimming) player can learn to access secret rooms.
- More boss in different locations
- Secret rooms such as treasure room
- POST game
Sample code
- Output: print("This is an output.")
- Input: playersInput=input("type here...")
- Decision: if hp > 0: cont = true else: cont = false
- while cont: GameRunning()
Information
- Description
- Mind Map on Text-based Adventure Game, created by Chan Sophie on 11/03/2020.
- Created by
- Chan Sophie
- Views
- 2
- Rating