C++ memory matching game

timer Asked: Dec 9th, 2013

Question description

Select a Theme and have 50 words associated with it Words must have a common theme - your choice Examples: Like Periodic Table Elements, or Sports teams, or Types of cars… Have one Term describing category you picked. This is the FACE term… Menu: Start Button New Game Button Exit Game Button Level of Play – Use selects at start of game ​4 x 4 grid (Easy) ​6 x 6 grid (Moderate) ​8 X 8 grid (Difficult) Speed of Play – At start of game, User selects time interval for clicked-on term-pair to display ​1 seconds (Difficult) ​3 seconds (Moderate) ​5 seconds (Easy) Populate Grid with Term ​At start of game – program places the same face/theme term in all squares in the visible grid If 4 x 4 grid, randomly pick 8 terms, place each image name twice in 2-Dim array. If 6 x 6 grid, randomly pick 18 terns, place each image name twice in 2-Dim array. If 8 x 8 grid, randomly pick 32 terms, place each image name twice in 2-Dim array. The 2-Dim Array corresponds to grid on screen. During the course of play, the face/theme term in the grid is replaced by a corresponding array terms, when user selects a grid square Game Play 1) User selects a FIRST square, the theme/face term in the grid square is replace with correspond stored term, from the 2-dim array 2) User selects a SECOND square, the term theme/face in the second grid square is replace with the corresponding stored term, from the 2-dim array 3) The computer compares the terms for the two selected squares. If they are the same, the terms remain on the screen and can no longer be selected. If they are different, the term remain the screen for 1, 3 or 5 seconds, depending on user selection at the beginning of the game. After that elapse time, those two grid terms are replaced with the face/theme term.

Tutor Answer

(Top Tutor) Studypool Tutor
School: Purdue University
Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors