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
Start writing the logic for the game class for our memory game.
Accomplished in this Video
- Created a Game class
- created instances attributes
- size
- card_options = words
- column names
- list to hold our cards
- all grid locations
- Created our cards
- Used
random
and sets to get random locations for each card - created the Card instance and saved it to our card list
- Used
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Angelus Miculek
6,979 Points2 Answers
-
samar shah
3,376 Points1 Answer
-
Cameron Ganley
4,049 Points2 Answers
-
Christopher Majors
1,374 Points1 Answer
-
Ava Jones
10,767 Pointsline 19 used_locations.append(random_location) Syntax Error
Posted by Ava JonesAva Jones
10,767 Points3 Answers
-
Matthew Allcorn
4,343 Points1 Answer
-
PLUS
Ahmed Ali
Courses Plus Student 3,018 Points1 Answer
-
Natalie Heyde
1,736 PointsWhy are the sets in parens and not curly brackets?
Posted by Natalie HeydeNatalie Heyde
1,736 Points2 Answers
-
Leah Kelly
4,141 Points1 Answer
-
kamal diriye
1,597 Points2 Answers
-
PLUS
diginoma
Courses Plus Student 8,009 Points3 Answers
-
Clayton McDaniels
5,788 Points1 Answer
-
Eric Nachtsheim
2,006 Points1 Answer
-
Andy McDonald
Python Development Techdegree Graduate 13,801 Points1 Answer
-
Aaron Lane
1,400 Points1 Answer
-
Dominika Petriková
11,779 Points1 Answer
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