GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Text-based adventure game

Sofia HSIEH Englisch

Inhalt der Mindmap

Text-based adventure game

  1. Presribed Criteria

    • Your story must have at least 10 different variables in total
      • Variables must be different.
      • Ensure that the story contains at least 10 variables.
      • Develop a Text-Based Adventure game using Python language and Thonny.
    • You must have at least two choices for each input. IE. Yes | No, Left | Right, Buy | Sell
      • The story must include user inputs which allows them to make choice.
      • Provide a minimum of 2 choices for each variable.
      • Choices must be unique.
    • You must use a WHILE Loop
      • The game must incorporate at least 1 WHILE loop.
      • WHILE Loop must evaluate the game’s condition.
    • You must use variables that match your storyline
      • Uses accepted naming conventions for variable names.
      • The story should include variables and should align with the storyline.
      • All variables should be written in proper pseudocode.
  2. Self-Determined Criteria

    • ASCII
      • Must inclue images in the story.
        • print(""" """)
    • ANSI
      • Must include colours in the story.
        • print(f"{ }")
  3. Existing Text based Adventure Games

    • Forest of lyrica
      • It is a short, retro-style text-based adventure and interactive fiction game created by Marco Casavant
    • Hitchhiker's guide to the galaxy
      • It is a notoriously difficult, absurdist text-based adventure game where you play as Arthur Dent trying to survive the destruction of Earth and navigate a surreal, sci-fi universe using clever and often bizarre text commands.
  4. Algorithm Constructs

    • Selection & Condition
      • A selection statement uses a condition to select which line of the program will be used next.
        • If
          • age = 15 if age >= 13: print("You are a teenager.")
        • If Else
          • age = 15 if age >= 18: print("You are an adult.") else: print("You are under 18.")
    • Sequence
      • Sequence refers to a set of instruction that are processed one after the other.
        • print("Hi!") print("Bye~")
    • Iteration/Repetitioin
      • Iteration is used when something is repeated, so anything where the program goes round in a loop.
        • While
          • Repeats while a condition is true
        • For
          • Repeats a set number of times
    • Assignment
      • Assignment is storing a value in a variable.
        • name=Sofia
  5. Programing Elements

    • IF
      • An IF statement runs a block of code only if a condition is true.
        • if age >= 18 ...
    • While Loop
      • A While Loop is used to repeat while a condition is true or false. These can be used as forever loops where required.
        • while count < 5:
    • For Loop
      • A For Loop is used when it is known exactly how many times to go around the loop.
        • for i in range(5):
    • Array
      • It stores a collection of multiple items under a single variable name.
        • fruits = ["apple", "banana"]
    • Variables
    • IF ELSE
      • An IF/ELSE statement adds a backup plan: it runs one block of code if the condition is true, and a different block of code if it is false.
        • if age >= 18: ... else: ...
  6. Ideas for story

    • Zombie Escape (selected story)
      • The survivor is forced to abandon his depleted high-rise sanctuary for a final military rescue helicopter leaving the city stadium in two hours.
    • Natural disasters survival

Informationen

Beschreibung
Mindmap am Text-based adventure game, erstellt von Sofia HSIEH am 14/10/2026.
Erstellt von
Sofia HSIEH
Aufrufe
2
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck