Skip to content

My submission of the memory game project in The Odin Project react course

Notifications You must be signed in to change notification settings

Devansh-Baghel/memory-game

Repository files navigation

Memory Game

My submission of TOP's Memory Game Project.

Made with Vite, React and Tailwind.

How To Play

  • The game consists of a grid of flags. You have to remember the flags that you clicked.
  • Score counter starts when you click a flag.
  • If you click the same flag twice, you lose.
  • In order to win, you must remember which flags you have clicked and which ones you haven't.
  • Flags will shuffle randomly after you click.
  • Click all the flags present on the screen, and you win.


Difficulty

  • The game provides options to choose from varying difficulties and test the memory skills of players.
  • Players have 3 difficulty options: Easy, Medium and Hard.


Setup

  • Clone the repository and use the 'cd' command to move to repository folder
git clone https://github.com/Devansh-Baghel/memory-game.git
cd memory-game
  • Install all dependencies
npm install

Development Mode

npm run dev

Production Mode

npm run build