Memory Game Using HTML, CSS and JavaScript with Source Code


Welcome to the Memory Game, a classic and entertaining web-based game that challenges your memory and concentration skills. In this engaging project, we've combined the power of HTML, CSS, and JavaScript to create a delightful gaming experience.

The Memory Game, Rock, Paper, Scissors, Word Scramble, and Quick Math all offer engaging challenges that exercise our cognitive abilities. While these games may differ in gameplay and objectives, they all share the common threads of mental stimulation, competitiveness, and the pursuit of fun. Whether you're remembering images, choosing hand signs, unscrambling letters, or solving math problems, each game offers a unique way to challenge and entertain the mind.

What is the Memory Game?

The Memory Game, also known as Concentration or Match Match, is a timeless game loved by people of all ages. The objective is simple: uncover pairs of matching items hidden beneath a grid of cards. As you progress, you'll need to rely on your memory to remember where each item is located. The game offers a great way to enhance your cognitive abilities while having a lot of fun.

How Does It Work?

Our Memory Game features a grid of colorful blocks, each with a unique image. Your mission is to reveal all the matching pairs within a limited time frame. Click on a block to uncover its image, and then try to find its identical counterpart by clicking on another block. If you successfully match two identical images, they will remain uncovered. The game continues until you've revealed all the pairs or time runs out.

Key Features:

  • Timer: The game challenges you to complete it within a set time limit, adding an exciting element of urgency to the gameplay.
  • Colorful Images: Instead of plain colors, we've used vibrant animal images to make the game visually appealing.
  • Reset Option: If you want to start over or play another round, simply click the "Reset Game" button.

How to Play:

  1. Click the "Click to Start!" button to begin the game.
  2. Memorize the positions of the animal images as they briefly appear.
  3. Click on two blocks to reveal the animal images. Try to match pairs.
  4. Keep an eye on the timer. The game ends when you've matched all pairs or time is up.
  5. If you win, a victory message will appear. If not, you can reset and try again!

Why Play the Memory Game?

The Memory Game is not only a source of entertainment but also a fantastic way to enhance your memory, concentration, and cognitive skills. It's suitable for players of all ages and provides an excellent opportunity for friendly competition with family and friends.

So, are you ready to put your memory to the test? Click the "Start" button and see if you can uncover all the pairs before the time runs out. Have fun, and may your memory serve you well!

Sample Screenshots of the Game:

Memory Game

Memory Game

Starting the Memory Game

Start Game

Completing Colors Complete

Time is UP!

Time is UP!

How to Run?

  • Download the provided source code zip file.
  • Extract the downloaded zip file.
  • Open the html file and you are now ready to go!

Video Demonstration for Installation/Setup


In conclusion, the Memory Game is a timeless and enjoyable challenge that exercises our memory and concentration skills. By matching pairs of images hidden beneath a grid of cards, players enhance their cognitive abilities while having fun. With its engaging gameplay and a dash of urgency, thanks to the timer, the Memory Game offers a fantastic way to put your memory to the test and enjoy a rewarding gaming experience. So, click that "Start" button and embark on a journey to uncover all the pairs before time runs out. Have fun and keep those cognitive gears turning!

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment