Skip to content

radek-drw/Memory-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Memory Match Game

This JavaScript memory game consists of a grid of cards, each hiding one of several pairs of colors. The game logic involves the following steps:

  1. Card Initialization: Cards are randomly assigned colors from a predefined set of pairs.
  2. Display Briefly: All cards are shown briefly before being hidden.
  3. Card Click Event: Clicking a card reveals its color. If two consecutive cards match, they remain visible; otherwise, they are hidden again after a short delay.
  4. Game Completion: The game tracks the number of matched pairs. When all pairs are found, the game ends, displaying the time taken to complete.

About

Simple memory game. Responsive for mobile devices

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published