Implement the game of memory.

Assignment Help Basic Computer Science
Reference no: EM132849552

Implement the game of memory.

1. The game is implemented on codepen.io or jsfiddle.net where a link can be shared.

2. It is a single-player game.

3. You may use any popular utility libraries and choose to use JavaScript or TypeScript.

4. The game board is always square (N x N) where N is some hard coded value you can pick and N%2 = 0.

5. The game board is composed of randomly generated pairs.

6. Render the game board in HTML with React.js.

7. The board should be a grid of squares.

8. The grid line width should be 2px (device-independent-pixels).

9. Use UTF-8 characters for the card images. 🌀 () through &#x1F5FF () work well.

10. All cards start "face-down", displaying a placeholder UTF-8 character of your choosing.

11. The game starts as soon as the page loads (codepen.io) or after clicking "Run" (jsfiddle.net)

12. Clicking on a card that is "face-down" will display the card's UTF-8 character, replacing the "face- down" character.

13. At most, two cards can be visible (face-up) at the same time.

14. If two visible cards do not match, fill the grid squares containing the two cards with red.

15. If two visible cards match, fill the grid squares containing the two cards with a color other than red.

16. Display the background color change for the two cards for two seconds.

17. If the two cards matched, remove the cards and display empty squares.

18. When removing the card background colors, if the cards did not match, change the squares back to the "face-down" characters.

19. When removing the card background colors, if the cards did match, remove the characters, leaving empty squares.

20. When all matches are found, change the entire board to the color used when a match was found.

21. Meeting the requirements is all that is necessary, but do fix bugs that make the game unplayable.

Reference no: EM132849552

Questions Cloud

Determine the costs assigned to ending inventory : Determine the costs assigned to ending inventory when costs are assigned based on the weighted average method
Which would be cheaper and by how much per month : Which would be cheaper and by how much per month. If they are currently renting a three-bedroom apartment for $1,750 per month.
BUSM1137 Human Resource Development Assignment : BUSM1137 Human Resource Development Assignment Help and Solution, RMIT University - Assessment Writing Service - How are trends in the business environment
Estimate the market value of the debt : If the debt has an average maturity of 4 years, and the fair market rate for debt for the firm is 7%, tax rate is 40%, estimate the market value of the debt
Implement the game of memory. : Implement the game of memory. You may use any popular utility libraries and choose to use JavaScript or TypeScript. Render the game board in HTML with React.js.
What is the maturity value of the note : Question - On July 7, University Bank lent $510,000 to Jazz Music Shop on a 60 day, 8% note. What is the maturity value of the note
Compute the per month cost including interest : Compute the per month cost including interest, taxes and insurance. Tom and Nancy want to buy a house in a particular neighborhood.
Calculate number of medallions to be produced in February : Olympia Productions Inc. makes award medallions that are attached to ribbons. Calculate number of medallions to be produced in February
Analyze the concept of corporate social responsibility : Analyze the concept of corporate social responsibility and how it relates to new products and objectives that align with your marketing plan.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write a function called enter new password

In python, the question asks to write a function called enter New Password. The function takes no parameters. it prompts the user to enter a password until the entered password has 8-15 characters, including at least one digit. Tell the user whene..

  How do firewalls block traffic

Referring to distributed computer architecture(Firewalls), how it addresses the following questions.

  Discuss organization need for physical security

Discuss an organization's need for physical security. What methods, approaches, and models can be used by organizations when designing physical security needs?

  What are the benefits and limitations of Python 3

Why is object-oriented programming valuable skill? What are the benefits and limitations of Python 3? what are some other tasks you can perform with Python 3.

  Types of systems in a business

How do ERP and CRM help a company, and what are the drawbacks to setting up those different types of systems in a business?

  Designing vb applications across multiple platforms

This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the evaluation of your assignment. You must submit both parts for the compl..

  Work breakdown structure

This assignment contains two (2) deliverables: a summary document to be delivered in a word processor document format and a Work Breakdown Structure (WBS) to be delivered in a project file.

  Write a c program to draw an analog clock

Write a c program to draw an analog clock. Simulate the movement of needles.

  Sra in 2006 a small business was created in the financial

in 2006 a small business was created in the financial sector. the main purpose of the business was to provide customers

  Object-oriented design versus traditional approach

Compare the object-oriented approach to design to the traditional approach. How would you use PowerShell to accomplish this?

  Find the length represented by x

Geometry A cone is inscribed in a sphere with a radius of 15 centimeters. If the volume of the cone is 1152Ωπ cubic centimeters, find the length represented by x.

  State laws regarding notifying customers of data breaches

Discuss the reasons why we have a hodge-podge of different state laws regarding notifying customers of data breaches.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd