Skip to content

Welcome to the Memory Game in Vanilla JS, an interactive and challenging game that tests your memory skills. Compete against time to find pairs of enigmatic cards on the game board. Customize your gaming experience by inputting your name and choosing the difficulty level.

JelenaTakac/Memory-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memory Game in Vanilla JS

Welcome to the Memory Game in Vanilla JS, an interactive and challenging game that tests your memory skills. Compete against time to find pairs of enigmatic cards on the game board. Customize your gaming experience by inputting your name and choosing the difficulty level.

Table of contents

Overview

The setup guide

  • Clone the repository
  • Open the index.html file in your preferred web browser
  • Enter your name, choose the difficulty level, and start playing!

Player Setup

  • Start the game by entering your name.
  • Choose the difficulty level from easy to expert.

Game Board

  • A dynamically generated game board with a random permutation of cards.
  • Card numbers vary based on the selected difficulty level.

Gameplay

  • Cards are initially facing down (reverse side).
  • Competitors must find pairs of matching cards in the shortest time possible.
  • Time countdown begins from zero as soon as the game starts.
  • Each new game generates a new random permutation of cards.

Interaction

  • Turn cards by clicking on them to reveal the hidden pictures.
  • Each turn allows the contestant to flip two cards (one at a time).

End of Game

  • Game ends when the contestant successfully uncovers all pairs of cards.
  • Notification appears on the screen, prompting the user to confirm starting a new game.

Best Results Table

  • Access to a leaderboard showcasing the best results.
  • Competitors within each difficulty level are ranked by speed (time to complete the game).

Links

  • Live Site URL: Live

Author

About

Welcome to the Memory Game in Vanilla JS, an interactive and challenging game that tests your memory skills. Compete against time to find pairs of enigmatic cards on the game board. Customize your gaming experience by inputting your name and choosing the difficulty level.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published