Memory Matching Game 2D- Text Based C++ Xcode
$250-750 USD
Paiement à la livraison
Requirements
Data Input
o Create three 50 word file each with its own theme. See week 10 for instructions on rules for creating theme files.
Program/Coding Instruction
Create a ‘Memory Matching Game’, with the various variables, arrays and functions need to play the game.
Use the menu values selected to set appropriate variable values, and to read in the chosen theme words into the program.
User Menu Interactions
Select Theme
1. Theme name 1
2. Theme Name 2
3. Theme Name 3
Enter ( 1, 2 or 3) :
Select Size of Play
A. 4 x 4 grid (Small)
B. 6 x 6 grid (Medium)
C. 8 X 8 grid (Large)
Enter ( E, M, D) :
Select Time word pair remain on screen
F. 2 seconds (Fast)
M. 4 seconds (Moderate)
S. 6 seconds (Slow)
Enter ( F, M, S )
At start of game – program places the same face/theme term in ALL visible squares in the visible grid
Real Answers not yet visible, only theme name is displayed in all squares, at start of game.
Program select number of random terms from the 50 available for the selected theme file (The programmer set up in three files in week 10)
o If 4 x 4 grid, randomly pick 8 terms, place each image name twice in 2-Dim array.
o If 6 x 6 grid, randomly pick 18 terns, place each image name twice in 2-Dim array.
o If 8 x 8 grid, randomly pick 32 terms, place each image name twice in 2-Dim array.
Hint: Randomly shuffle theme array and just pick the first 8, or 18 or 32 terms per game player selection
Next, display the current game state on screen. (Hint: Using for loop, array index and cout statements)
Note: ‘Answer’ array is different from ‘display’ array
During the course of play, the face/theme term in the display grid is replaced by a
corresponding array terms, when user selects a grid square
Decide on how the user select/chooses a square/cell/location that is displayed… there many different methods.
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 answer 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 answer 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 2, 4 or 6 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.
=====================================
The program you write
Consists of variables/arrays and functions.
The program will use 1 and 2 dimensional arrays
The program will have several variables
The program will have several functions – clearly named
Do NOT use classes or structures…
The int main() in your code contain only two lines of code::
#include iostream;
using namespace std;
#include string;
// define Functions here
Int main() {
// Define other variables and arrays here
Return 0;
}
Timer (Extra credit) - Create/display a timer that keep track of the number of seconds it took to win a game.
To receive the most credit, this project must be functional.
Note: This is to be written as a console/text based game. This is NOT a GUI base game.
Nº du projet : #30207845
À propos du projet
9 freelances font une offre moyenne de 418 $ pour ce travail
++I CAN START WORKING ON THIS RIGHT NOW INBOX ME WITH THE DOCUMENT OF THIS PROJECT ++ I am a Software Engineer (NUST) with 4+ years of experience in my field of working as a Programming Expert in TUKL R&D Lab Germany. Plus
Hi Client. I have skills for C++/C and also Good for Game. I would like to work with your project in full time and also can make your project perfectly. Please contact with me and discuss with your project.
HI, I'll keep it short. I have been a C++/C developer for almost 4 years. I also have experience as a senior game developer. I can therefore, help you on this project. Reach out to me to discuss further details.