Mindmap
Year 9-Item 2
Inhalt der Mindmap
Year 9-Item 2
success criteria
- Sec 2
- -Check every choice question gives two options
- - Show the options in brackets
- Sec 4
- - Name each variable after what it stores
- - Avoid names like x or a
- Sec 1
- - List 10 variables
- -Check each one is used in the code matches the story
- - Check each name matches the story
- Sec 3
- - Make sure it keeps asking after an invalid answer
- - Use break to end the game
- - Add a while True: loop
- Sec 5
- Make wordings intense and detailed
- -Include ansi that adds suspense
- the storyline needs to be set in the future
- Sec 2
Code constructs
- FOR loop
- A definite controlled loop used to iterate over a specific range
- for in range(3): print("Searching area...")
- A definite controlled loop used to iterate over a specific range
- WHILE Loop
- An indefinite loop that runs continuously as long as a specified condition remains true
- while player alive = True: to keep the core gameplay running.
- An indefinite loop that runs continuously as long as a specified condition remains true
- IF statement
- A conditional code block that executes only if its expression evaluates to true
- if choice "left": print("You walked into a dark hallway.")
- A conditional code block that executes only if its expression evaluates to true
- FOR loop
ideas for story
- Suspenseful story
- Description: A narrative where the player wakes up alone in a labrit
- Explanation: Provides a contained setting that relies entirely on text to build suspense
- Description: A narrative where the player wakes up alone in a labrit
- Track player game
- Description: A string input variable collected at the very start of the program
- Dynamically updates game dialogue to address the player directly
- Description: A string input variable collected at the very start of the program
- Add health counter
- Description: A mechanical variable that tracks the player's current physical condition
- Explanation: Adds consequence to bad choices, raising the stakes and making gameplay exciting.
- Description: A mechanical variable that tracks the player's current physical condition
- Suspenseful story
Algorithm constructs
- Iteration
- Repeating a block of code multiple times or until a condition is met
- Looping through a list of inventory items to print them out on the screen
- Repeating a block of code multiple times or until a condition is met
- Selection or condition
- Making decisions in code by evaluating whether a condition is true or false
- Checking if a player has a key before allowing them to open a locked door
- Making decisions in code by evaluating whether a condition is true or false
- Assignment
- Storing or updating a specific value inside a named variable
- Setting health = 100 or adding points with score = score + 10
- Storing or updating a specific value inside a named variable
- Sequence
- Executing instructions one after another in a strict order
- Displaying a welcome message first then asking the player for their name
- Executing instructions one after another in a strict order
- Iteration
Existing text-based adventure games
- Forest of Lyrica
- Description- A fantasy-themed text adventure designed for educational environments to teach coding
- Weaknesses: Very basic plotlines and limited branching text paths
- Strengths-Straightforward command structure that is very easy for beginners to navigate.
- Description- A fantasy-themed text adventure designed for educational environments to teach coding
- Hitchhikers Guide to the Galaxy
- Description-A classic interactive fiction game based on the famous sci-fi comedy series by Douglas Adams
- Strengths-engaging and extremely immersive storytelling
- - Weaknesses: known for difficulty, illogical puzzles that cause frequent frustrating player deaths.
- Description-A classic interactive fiction game based on the famous sci-fi comedy series by Douglas Adams
- Forest of Lyrica
Informationen
- Beschreibung
- Mindmap am Year 9-Item 2, erstellt von Saksham NARA am 06/10/2026.
- Erstellt von
- Saksham NARA
- Aufrufe
- 1
- Bewertung