Mindmap
Python game
Inhalt der Mindmap
Python game
Conding Constructs
- IF loop
- An if statement is a conditional command that executes a block of code exactly once if a specific condition is true.
- IF health == 0 THEN OUTPUT "Game Over" EXIT ENDIF
- An if statement is a conditional command that executes a block of code exactly once if a specific condition is true.
- WHILE loop
- A while loop is a programming structure that repeats a block of code over and over as long as a specific condition remains tru
- WHILE health > 0 OUTPUT "You are alive!" health = health - 1 ENDWHILE OUTPUT "Game Over"
- A while loop is a programming structure that repeats a block of code over and over as long as a specific condition remains tru
- IF loop
Self Determined Criteria
- Game have to have multiple colour of text
- The game will have different colour of text depending on character.
- Game uses the colour Green for text
- Game uses the colour Purple for text
- Game have to have multiple colour of text
Existing Text Based Adventure Games
- The Hitchhiker's Guide to the Galaxy
- a famously difficult 1984 text-based adventure game. It translates the book's signature cosmic comedy into an interactive experience where players use text commands to survive the destruction of Earth and navigate absurd sci-fi puzzles.
- Strengths this game have includes brilliant writing and creative puzzle designs
- Weaknesses include sudden deaths: The game frequently kills the player without warning for making logical exploration choices.
- a famously difficult 1984 text-based adventure game. It translates the book's signature cosmic comedy into an interactive experience where players use text commands to survive the destruction of Earth and navigate absurd sci-fi puzzles.
- Colossal Cave Adventure
- a landmark text-based adventure game, first released in 1976, where players explore a cave system using text commands to find treasure, solve puzzles, and avoid dangers like trolls and pirates
- Rewarding Exploration: Mapping out the intricate cavern layouts and secret passages provided a deeply satisfying sense of discovery were one of the strengths
- One of the weaknesses were randomised elements like the sudden appearance of the axe-throwing dwarf, relied on random chance rather than player skill or strategy.
- a landmark text-based adventure game, first released in 1976, where players explore a cave system using text commands to find treasure, solve puzzles, and avoid dangers like trolls and pirates
- The Hitchhiker's Guide to the Galaxy
Algorithms Constructs
- sequence
- A sequence is the specific order in which instructions are executed by a computer, running one after another from top to bottom.
- Step 1: You type the message.Step 2: You press the "Send" button.Step 3: The app delivers the message to your friend.
- A sequence is the specific order in which instructions are executed by a computer, running one after another from top to bottom.
- Assignment
- storing a specific value inside a variable's memory space. It sets or changes the data that a variable holds.
- score = 10 is one example. It stores the number 10 inside the variable named score
- storing a specific value inside a variable's memory space. It sets or changes the data that a variable holds.
- Iteration
- the process of repeating a sequence of instructions or steps to achieve a specific outcome
- SET timer TO 5 2: WHILE timer > 0 3: OUTPUT timer + " seconds left!" 4: SET timer TO timer - 1 5: ENDWHILE
- the process of repeating a sequence of instructions or steps to achieve a specific outcome
- Selection & Conditions
- selection is the process of making decisions. It allows your program to choose different paths of code to execute based on whether a specific condition is true or false.
- Path A (IF True): If you have enough money, the ATM gives you the cash.Path B (ELSE False): If you do not have enough money, the ATM shows an "Insufficient Funds" message.
- selection is the process of making decisions. It allows your program to choose different paths of code to execute based on whether a specific condition is true or false.
- sequence
ideas of story
- Mystery
- The golden dolphin award is lost help the police form to find it back.
- The golden dolphin trophy was lost and stolen, player has to use their knowledge to arrest the criminal and help the police to find the trophy back.
- Player found a mysterious ufo and discovered something mind blowing
- This ufo was giant and player make their decisions on what to do next. At last they found something that was not revealed for several years.
- The golden dolphin award is lost help the police form to find it back.
- Rescueing
- People were lost, player needs to be the hero and find them back :)
- Fruit city had fruits going on vacation and after 2 months only some fruits came back. Player becomes the FRUIT HERO and saves the fruit
- Natural disaster, the city is collapsing TnT
- Player needs to save the city and they will have to make decision. Their choice will leads them either to victory or losing all their health and end the game.
- People were lost, player needs to be the hero and find them back :)
- Adventure
- Travelling around a country / around the world
- Player can choose where they want to go, exploring places around a country / around the world
- Planning vacations with a budget.
- Player has a specific amount of money at the start of the game and learns how to manage their money throughout the game and travels with a budget.
- Travelling around a country / around the world
- Mystery
Prescribed Criteria
- You must use a WHILE loop
- The game must include a line that says- While something is true.
- While loop must be coded in python
- Game must include at least one WHILE loop.
- story must have at least 10 different variables in total
- Create a game using python in Thonny
- All variables must be different to each other.
- Create a text-based adventure game
- You must have at least two choices for each input (IE. Yes | No)
- Have one input with 3 choices
- Two choices must be different
- Each input must have at least 2 choices for the player. For example: Stay in castle OR Escape.
- must use variables that match your storyline
- Variable must match whatever happens in the story / game
- Variables must be related to the storyline. For example in a story about rescuing ‘Do you want to save them’ or ‘next location choice’
- You must use a WHILE loop
Informationen
- Beschreibung
- Mindmap am Python game, erstellt von Lisa Yu am 27/04/2026.
- Erstellt von
- Lisa Yu
- Aufrufe
- 0
- Bewertung