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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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