Zusammenfassung der Ressource
Menu - This features the title "Welcome to the AQA Memory Game!" and 'Play Game' and 'Quit' label
- After Clicking 'Play Game' the user chooses from the 'Easy' or 'Hard' mode.
- 'Easy' label -- def easy
- After being chosen, the 3x3 grid will be loaded and remain for thirty
seconds
- def read_9
- def get_rwords
- The grid will be removed and the second 3x3 grid will be loaded after being
randomised.
- import random
- r num =
random.randint
- Below - labels 'Please enter the removed word' and 'Please enter the new word' with entry boxes and a
'Submit' option next to them
- Incorrect guess (1) - label will state 'Incorrect. You have 1
attempt left"
- Incorrect guess (2) - label states 'Incorrect. You have 2
attempts left"
- Incorrect guess (3) - label states 'Inccorect. You have 3 attempts left"
- New menu loaded; Title 'You Lose'
- Label -- 'Play Again'
- This will directly link the user
back to the main menu
- Label -- 'Quit'
- Window: "Are you sure you want to
quit?"
- 'Yes' - directly link the user back to first
main menu
- No - window closed, back to 'You lose' menu,
this will continue until 'Play Again' is chosen
or the user quits
- Correct answer: direct to the new menu called 'You Win"
- Label -- "Play Again"
- This will directly link the
user back to the main
menu
- Label -- "Quit"
- Window: "Are you sure you want to quit?"
- No - Window closed, back to 'You lose'
menu, this will continue until 'Play
Again' or 'the user quits
- 'Yes' - directly link the
program back to first main
menu
- 'Hard' Label -- def hard
- After being chosen, the 4x4 grid will be loaded and remain for forty seconds
- The grid will be removed and the second, randomised 4x4 grid will be loaded
- Below - labels 'Please enter the removed word' and 'Please enter the new word' with
entry boxes and a 'Submit' option next to them
- Incorrect guess (1) - label will state "Incorrect. You have 1
attempt left"
- Incorrect guess (2) - label will state "incorrect. You have 2
attempts left"
- Incorrect guess (3) - label will state "incorrect. You
have 2 attempts left"
- New menu loaded; Title "You lose"
- Label -- "Play Again"
- This will link the user directly
back to the main menu
- Label -- "You Quit"
- Window: "Are you sure you want to quit?"
- 'Yes': directly link the user back to
main menu
- 'No' - window closed, back to "You lose" menu,
this will continue until 'Play Again' is chosen or
the user quits
- Correct answer: direct to the new menu called "You Win"
- Label -- "Play Again"
- This will directly link the
user back to the main
menu
- Label -- "Quit"
- Window: "Are you sure you
want to quit?"
- 'Yes' - directly link the program
back to the first main menu
- No - Window closed back to 'You
Lose' menu, this will continue
until 'Play Again' or the user
quits
- Import random
- r num = random.randint
- txt file -- def read_16
- get_rwords