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

Mind map

Text-based Adventure Game

Chan Sophie English

Map content

Text-based Adventure Game

  1. 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.
      • 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
      • 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.
      • Variables
        • input
          • playersInput=input("Enter your answer please. ")
        • output
          • print("")
      • Constructs
        • IF --> THEN --> ELSE
        • WHILE
        • FOR
    • 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.
      • 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
    • Non functional
      • Design of game map
      • NPC designs
        • Names
        • Purpose
        • Behavior
      • Language choice of game
  2. 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
    • 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
  3. Possible Limitations

    • Multiple Exams and Assessment going on at the same time
    • Lack of knowledge in some areas
    • Poor time management
  4. 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.
    • Secret rooms such as treasure room
  5. 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

Feedback

What is it about?

What do you think of the new look?

How do you like it?