Mind map
Text-based adventure game
Map content
Text-based adventure game
self determined criteria
- Add ANSI colours and ASCII to make it aesthetically pleasing
- Use at least three different ANSI colours
- Use ASCII text art to further decorate the game
- Use colours such as red to indicate a question or speech
- Add ANSI colours and ASCII to make it aesthetically pleasing
Algorithm constructs
- sequence
- Sequence refers to a set of instructions that are processed one after the other.
- For example, brushing your teeth before going to school.
- Sequence refers to a set of instructions that are processed one after the other.
- assignment
- Assignment is storing a value in a variable
- For example, storing studentName=Tom. Meaning the name is Tom.
- Assignment is storing a value in a variable
- selection and condition
- A selection statement uses a condition to select which line of the program will be used next
- For example, IF military rank=captain OUTPUT "hello" ELSE OUTPUT "wrong area".
- A selection statement uses a condition to select which line of the program will be used next
- iteration
- Iteration is also called repetition and is used when something is repeated, so anything where the program goes round in a loop.
- For example saying for 5 times, say hi. This shows repetition as the program goes around in a loop.
- Iteration is also called repetition and is used when something is repeated, so anything where the program goes round in a loop.
- sequence
Existing text based adventure games
- Colossal cave adventure
- The game drops the player at the entrance of a massive, mysterious cave system based heavily on the real-world Mammoth Cave in Kentucky. Players navigate through complex underground tunnels, fight off aggressive dwarves, manage limited resource tools (like a brass lantern), and attempt to locate hidden treasure
- Uses IF/ELSE coding language to give the user multiple choices to progress
- Pros: engaging storyline to keep player indulged
- Cons: Mainly uses IF/ELSE statements
- The game drops the player at the entrance of a massive, mysterious cave system based heavily on the real-world Mammoth Cave in Kentucky. Players navigate through complex underground tunnels, fight off aggressive dwarves, manage limited resource tools (like a brass lantern), and attempt to locate hidden treasure
- ZORK
- Zork drops the player into the ruins of an ancient underground empire. It became famous for its advanced text parser, which could understand much more complex sentences than its predecessors
- Uses WHILE loops to make the player continue guessing and cracking down the code until the right answer is answered
- Good as it includes many different code constructs.
- Con: Lots of trial and error can make the player lose interest quickly
- Uses WHILE loops to make the player continue guessing and cracking down the code until the right answer is answered
- Zork drops the player into the ruins of an ancient underground empire. It became famous for its advanced text parser, which could understand much more complex sentences than its predecessors
- Colossal cave adventure
programming elements
- arrays
- An array stores a numbered list of values to be used later in code
- An example could include the eggs in a carton but in coding it could be listing the values from 1-4 and asking the robot to do action 3.
- An array stores a numbered list of values to be used later in code
- variable
- A variable is a part of code that declares a specific action or thing. It could be a name, number or even a decimal.
- Most variables have the coding Name=Bob. This declares that name is equal to Bob, meaning that whenever name is typed the robot will know it is Bob.
- A variable is a part of code that declares a specific action or thing. It could be a name, number or even a decimal.
- IF/IF ELSE
- An if/else statement is a coding tool used to make decisions. It lets a computer program choose between different actions based on whether a condition is true or false.
- For example IF it is raining bring umbrella ELSE bring nothing
- An if/else statement is a coding tool used to make decisions. It lets a computer program choose between different actions based on whether a condition is true or false.
- FOR loop
- A for loop is a coding tool used to repeat a block of code a specific number of times. Instead of writing the same line of code over and over again, you use a loop to automate the repetition.
- e.g saying hello 5 times
- A for loop is a coding tool used to repeat a block of code a specific number of times. Instead of writing the same line of code over and over again, you use a loop to automate the repetition.
- WHILE loop
- while loop is a coding tool used to repeat a block of code as long as a specific condition remains true. Unlike a for loop (which repeats a set number of times), a while loop runs for an unpredictable amount of time because it only stops when its condition finally becomes false.
- e.g Drive a car until you run out of fuel.
- while loop is a coding tool used to repeat a block of code as long as a specific condition remains true. Unlike a for loop (which repeats a set number of times), a while loop runs for an unpredictable amount of time because it only stops when its condition finally becomes false.
- arrays
ideas for story
- The user is portrayed as a 15 year old in a world of magic. The user must pick a side, believing the philosophy of either angel or devil while their best friend is their enemy
- IF/ELSE statements so player can choose a side
- A traveler in medieval times gets lost and needs to find the route back to the capital whilst avoiding bandits and maintaining hygiene.
- FOR loop because game is repetitive. E.g stab beast 5 times
- The user is portrayed as a 15 year old in a world of magic. The user must pick a side, believing the philosophy of either angel or devil while their best friend is their enemy
prescribed criteria
- Your story must have at least 10 different variables in total
- Create an interactive fantasy game using coding language (python)
- Unique variables that differ from one another
- You must have at least two choices for each input (IE. Yes | No, Left | Right, Buy | Sell)
- The story must have user input which allows the story to vary
- User input allows the user to choose what they want to do
- There should be at least two choices
- You must use a WHILE loop
- You must use a WHILE loop
- WHILE loop must run until a certain condition is met
- You must use variables that match your storyline
- Variable names must match the storyline. For example, in a medieval game the variable name should not be “Space_ship”.
- Written using correct pseudocode syntax
- Your story must have at least 10 different variables in total
Information
- Description
- Mind Map on Text-based adventure game, created by shirly zha on 14/10/2026.
- Created by
- shirly zha · Oct 2026
- Updated
- Oct 14, 2026
- Views
- 0
- Rating