O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

Text-Based Adventure Game

Kennan Ma Inglês

Conteúdo do mapa

Text-Based Adventure Game

  1. Algorithm Constructs

    • Sequence
      • A set of instructions processed one after the other
        • Pick up toothbrush, put toothpaste on brush, ...
    • Assignment
      • The storage of a value in a variable
        • x = 10
        • y = "Hello, World!"
        • n = 2.5
    • Selection & Condition
      • Selection uses a condition to select which line of the program will be executed
        • IF x == 10:
        • ELIF y == "Hello, World!":
        • ELSE:
    • Iteration
      • Used when a piece of code is repeated
        • FOR i IN range(5):
        • WHILE Bool == TRUE:
  2. Coding Constructs

    • IF
      • Runs an algorithm when a condition is True
        • IF weather == sunny:
        • IF scorevar == 4:
        • IF Bool == True:
    • ELSE:
      • Runs an algorithm when if or elif statements result as False
        • IF ...: ELSE: print("not met")
    • ELIF
      • Literally short for "else if", allows to check another condition of previous if is not True
        • ELIF y = 10:
        • ELIF "bread" in bag:
    • WHILE
      • Loops through a block of code as long as the condition is True
        • WHILE True:
        • WHILE x > 5:
  3. Prescribed Criteria

    • Your story must have at least 10 different variables in total
      • Create a usable variable using Python in the Thonny IDE
        • Thonny is a beginner-based IDE (integrated developer environment) that works on Python. It can be used to create variables
      • Game must have at least 10 different variables
        • userName = input("Insert your name: ")
        • shopChoice = input("What do you buy? ")
      • Variables must be appropriately named and unique
        • Create different variables that don't repeat each other
    • You must have at least two choices for each input (i.e. Yes | No, Left | Right, Buy | Sell
      • Story must have input() keyword, which allows the user to type out answers.
        • INPUT("Type out your answer: \n")
      • Answers must have mutual exclusivity
        • (Yes | No), (Right | Left), (In | Out)
      • Every answer must have an outcome that branches off from the main storyline
        • If the player turns left, they move on to West Forest. If right, then they move to East Forest
    • You must use a WHILE loop
      • Game must have a minimum of 1 WHILE loop
        • WHILE TRUE: (repeated cycle)
      • While loop cycles through the algorithm until a condition is met or an error occurs
        • An algorithm in a WHILE TRUE: statement is broken by the "break" keyword
    • You must use variables that match your storyline
      • Variable names must be appropriate for the storyline
        • In a medieval setting, the variable should be merchantShop instead of spaceShip
      • Variable names must be easy to read and describe their value
        • battleChoice rather than choice_5
      • Variables must be written with correct syntax and data type
        • x = 5 (integer)
        • n = "foo" (string)
  4. Self-Determined Criteria

    • Base story on mythical world
      • Mythical characters
        • Elves
        • Dragons
        • Humans
    • Add ASCII Art
      • Visual art created by arranging ASCII characters
        • Dragon image
        • Trophy image
    • Add ANSI colours
      • Sequences that tell a renderer to change colour
        • print("\033[1;32mBold green text\033[0m")
  5. Ideas for Story

    • Mythical timeline
      • Base the events, characters, and items on fantasy
        • Elf characters
        • Dragon boss
        • Lightning in a jar
    • Add inventory
      • Create a list that appends items throughout the game
        • bag = []
        • bag.append("something")
    • Base off of chance
      • Random outcomes to random events
        • import random
        • direction = random.choice(["left", "right", "centre"])
  6. Existing Text Based Adventure Games

    • 80 Days
      • Steampunk text-based adventure game based on Jules Verne's 1873 "Around the World in Eighty Days"
        • Pros
          • Extreme world building
          • Complex mechanics
          • Minimalism
        • Cons
          • Lack of manual save
          • Repetitivity
          • Randomisation
    • Hitchhiker's Guide to the Galaxy
      • Text-based science-fiction comedy adventure game created jointly between the BBC and Douglas Adams
        • Pros
          • Story depth
          • Pop culture
          • Legacy
        • Cons
          • Absurdism
          • Guessing culture

Informações

Descrição
Mapa Mental sobre Text-Based Adventure Game, criado por Kennan Ma em 14-10-2026.
Criado por
Kennan Ma
Visualizações
1
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?