Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1)in python 2)pls provide comment Create a Memory Game program with the following features: 1. It is a multi-player game. 2. Players determine the size

1)in python
2)pls provide comment image text in transcribed
Create a Memory Game program with the following features: 1. It is a multi-player game. 2. Players determine the size of the game board. The maximum size is 9 rows and 9 columns. 3. If the game board has odd number of cells, the last cell will be designated as an unused cell. 4. An unused cell has the "@" sign on its back, the rest of the cells have the "?" sign on their back. 5. The game board cells contain randomly generated pairs of letters from the alphabets. 6. Players take turn to pick two cells one after another. 7. Show the letter of the cell when a player picks a valid cell. 8. If a player picks two non-matching cells, next player gets to play, and the two non-matching cells will be hidden again. 9. If a player picks a matching pair, the matching pair stays visible, and he is allowed to continue to pick another pair. 10. When a player picks a matching pair, he is awarded one point. 11. If a player picks a cell outside the game board; or a cell that is visible; or the unused cell, he loses the turn. 12. When all the cells are opened, the game is over. 13. Show the score of players and the winner (or winners) when the game is over

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data With Hadoop MapReduce A Classroom Approach

Authors: Rathinaraja Jeyaraj ,Ganeshkumar Pugalendhi ,Anand Paul

1st Edition

1774634848, 978-1774634844

More Books

Students also viewed these Databases questions

Question

State the uses of job description.

Answered: 1 week ago

Question

Explain in detail the different methods of performance appraisal .

Answered: 1 week ago

Question

6. Explain the power of labels.

Answered: 1 week ago

Question

5. Give examples of variations in contextual rules.

Answered: 1 week ago

Question

f. What stereotypes were reinforced in the commercials?

Answered: 1 week ago