Question: How to use JavaScript to make a simple 4 x 5 grid memory game. Only using JavaScript, no Jquery allowed. 1. Your game should have

How to use JavaScript to make a simple 4 x 5 grid memory game. Only using JavaScript, no Jquery allowed.

1. Your game should have Game.html and GameScript.js and some CSS styles.

2. You should use array of images store in a folder that will be used to randomly populate into the HTML page with a common cover image for all the hidden real images. Dynamically load the images on the page instead of statically writing them in the HTML of the page.

3. Include a timer for how long the game takes to complete to find all matches. A match pair will increase the player's score, otherwise a mismatched will decrease the score. All the images are flipped, display the score and ask the player if they want to play again.

Ps: The game board must be 4 x 5 and it should be responsive when resize the window.

Thank you for anyone who can help! Appreciated!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!