Memory Matching Game 2D- Text Based C++ Xcode

Fermé Publié le il y a 2 ans Paiement à la livraison
Fermé 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.

Programmation C++

Nº du projet : #30207845

À propos du projet

9 propositions Projet à distance Actif il y a 2 ans

9 freelances font une offre moyenne de 418 $ pour ce travail

gstsz

Hi I have read your all description and I totally understand your requirement. I am professional C/C++ developer and I am ready to start now. I am sure high quality, good communication and I will keep daily update. T Plus

$400 USD en 3 jours
(8 Commentaires)
4.6
josehusam

Hello, How are you? You can hire me for your project. I can do your project right now. I am a full-stack developer in C/C++, Python, JAVA. Please hire me. I think, You will be contented with my skills. I can do this pr Plus

$400 USD en 3 jours
(1 Évaluation)
2.7
shaojin

Hi! I am happy to put my bid on here. I have read your requirement carefully and I am interested in this project. I have a tons of experience in Assembly /C /C++/C# in 6 years. If you`ll hope to work with me, I am conf Plus

$350 USD en 7 jours
(3 Commentaires)
2.3
izain112233

++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

$259 USD en 7 jours
(1 Évaluation)
2.0
Feriver

Hello there, How are you doing? Just saw your project posted. I read the brief details and I felt I could help you with it. Lets start the chat and discuss it in detail. Please check my porfolio and reviews on my prev Plus

$500 USD en 7 jours
(4 Commentaires)
2.0
pruvi007

Hi I have read your description. I have built the same game earlier. As described the user selects 2 cells from the term/face matrix and then we have to process that whether the selected are same or not. Also I can imp Plus

$250 USD en 2 jours
(4 Commentaires)
2.3
eulertoday

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.

$500 USD en 3 jours
(2 Commentaires)
1.0
amoeedhere

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.

$500 USD en 12 jours
(0 Commentaires)
0.0