Ajude a dar forma ao GoConqr. O que a gente deve adicionar?

Mapa mental

Text Based Adventure Game

Simarveer Batth Inglês

Conteúdo do mapa

Text Based Adventure Game

  1. Existing Text based adventure games

    • Hitchhikers Guide to the Galaxy
      • pros
        • very in depth storyline so there's lots of stuff to do in the game
        • map images for further user engagement
        • complex text commands
      • cons
        • in depth story leads to hard game to complete
        • certain amount of turns (makes the game harder) which may disengage the user.
      • In this game your character is named Arthur Dent and your goal is to get the highest score possible by exploring the galaxy but you only have a certain amount of moves to do so.
    • Zork l
      • Zork one is a text based adventure game released in 1980. The game zork one, the great underground empire lets the player explore the ruins of a great underground empire using commands like "north, south east and west" for adventuring to take all the treasure from the ruined empire.
        • pros
          • has hundreds of locations to explore
          • has antagonists that you must fight to progress
        • Cons
          • has mainly simple commands like north etc (on complex commands are when you want to place an item into a chest
  2. self-determined criteria

    • additional styling (with keyboard characters)
      • for when the game starts i will print welcome to ===game name===
      • when you die the game will print "===game over==="
    • asci art
      • I will add asci art for example when you lose from the knights it will show a knight with a sword
  3. prescribed criteria

    • must have 10 different variables
      • must have up to 20 different choices/paths
      • if you cant get 20 choices make other variables like health or honor
      • can be either story variables or health type of variables
    • must have atleast 2 choices for each input yes, no, left,right, buy and sell
      • use if else statements for every input choice
      • have variety by having the input not as yes or no
      • can use if statements as well (using them twice)
    • must have a WHILE loop
      • I could use while loops for different chunks of the story (e.g. while choice == castle ...)
      • could use one while loop at the start of the game for/ from a print code
    • Must have variables that match the storyline
      • the variables will correlate which the choices (e.g. when asking the player if they want to buy something from the shop the variable will be called shop choice or when they want to fight the knights or run it will be called fight_or_run)
  4. coding constructs

    • For loops
      • For loops are a coding construct where specific lines of code get repeated for a certain amount of time
        • for a in "abc": print (a)
    • WHILE Loops
      • Is a coding construct where lines of code get repeated continuously while a condition is being met
        • while True: adventure_choice = input("Do you want to go to the village or the castle? (castle/village) ")
    • IF statements
      • An if statement decides between/ allows 2 different paths/choice by telling if a condition is true or not
        • if adventure_choice == "castle": print("You decide to go to the castle.") print("As you walk towards the castle, you find a shop encaved into a few trees and bushes along the way. Do you want to buy anything?")
    • Variables
      • variables are items with a value
        • health = 100
    • Arrays
      • an Array contains multiple things of the same data type
        • An example of an array is a players inventory ( inventory = [ apple, banana, pear])
    • IF else statements
      • if else statements are condition code were if something is true one path gets followed but if it is not the else path gets followed
        • f fight_or_run == "fight": print("You decide to fight the group of knights.") if shop_choice == "yes": print("With your sword and shield, you put up a good fight against the dragon.") print("After a long and intense battle, you successfully defeat the group of knights.") print("You walk over their metal bodies with making as little sound as possible") else: print("Without any weaponary, you are no match for stupid robots.") print("The robots quickly defeat you and you lose the game.") break
  5. Algorithm Constructs

    • Modularisation
      • modularisation is when you break big code into groups of code called modules
        • import counting_to_ten print (counting_to_ten)
    • Iteration
      • to iterate is the process where you repeat specific lines of code again (e.g. for and while loops)
    • Selection & Condition
      • selection contains if and if else statements where they decide if something is true of false/ if a specific condition is met or not by seeing if its equal to (==) or if its less or more than ( >, <) a conditon.
        • if and else statement: if shop_choice == "yes": print("You decide to buy some new risky weaponary, which are a handcannon and a arquebus from the shop, the shopkeeper says 'Worry not stranger your well equipt to face the danger ahead.' ") print("You can now confidently save yourself from any danger.") else: print("You decide not to buy anything, the shopkeeper warns you to be carefull.")
    • Assignment
      • An assignment in python is the process where you assign a value (in some cases objects) to a variable
        • example: Honor = 0
    • Sequence
      • Sequences are a group of items that are put in a order. Furthermore, there are difference sequence types but the most common are string, range and list types.
        • list example: Inventory = ["Pistol", "Knife", "shotgun"] string example: Name: Gamer print (name)
  6. Story ideas

    • An medieval adventure game
      • You can either explore a castle or go to a village
    • add a currency system
      • purchasing something from the shop actually affects you which adds realism
        • if shop_choice == yes money = 10
    • add a honor system
      • depending on the value of this variable you will be getting different endings (if its less than 0 you get a villain ending)
        • if honor == 0> print ("villain ending")

Informações

Descrição
Mapa Mental sobre Text Based Adventure Game, criado por Simarveer Batth em 11-05-2026.
Criado por
Simarveer Batth
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que a gente deve adicionar?