Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Time to create the start_game method to finalize our memory game.
Accomplished in this Video
- Created the start game method
- posts the game name
- starts a while loop
- prints the grid
- asks the player for their guesses
- checks them to see if the locations are good
- checks if they are a match and prints out the appropriate response
- checks if the game has been run
- created a game over message for when the loop ends
OOP Practice Ideas
- Store Inventory
- A class for items in the store
- A class for the inventory
- How can you add items to the inventory?
- How can you update items in the inventory?
- What about deleting items?
- Dungeon Game
- Using the grid-like we did in our memory game but instead of cards, one space holds a monster, and another the exit. Start your play in a spot on the grid and have them move around the grid one space at a time until they either find the exit and win or find the monster and lose.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Kristaps Mediks
2,996 Points1 Answer
-
Ryan Weckesser
1,978 Points1 Answer
-
Ava Jones
10,767 Points4 Answers
-
JASON LEE
17,352 Points1 Answer
-
Clayton McDaniels
5,788 Points1 Answer
-
Andy McDonald
Python Development Techdegree Graduate 13,801 Points0 Answers
-
Hanwen Zhang
20,084 Points5 Answers
-
Sydnie Gandy
3,024 Points1 Answer
-
William Ray Noble
22,190 Points3 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up