Skip to content

NilanshuBasnet/memoryGame

Repository files navigation

Memory Game

An interactive and customizable Memory Game built with React. This project was inspired by the “React JS Interview Questions (Memory Game)” tutorial by RoadsideCoder.

Features

  • Dynamic Grid Size: Users can select board dimensions ranging from 2x2 to 10x10.
  • Randomized Gameplay: Cards are shuffled to provide a unique experience in every session.
  • Interactive Mechanics: Flip cards, match pairs, and solve the puzzle with smooth animations.
  • Responsive Design: Built using Tailwind CSS for a seamless experience across devices.

Technologies Used

  • React: For building the interactive user interface.
  • JavaScript: Core logic for game functionality.
  • Tailwind CSS: Styling the application with a responsive and modern design.

Usage

  1. Select the grid size by entering a number between 2 and 6 in the input field.
  2. Click the Play button to shuffle the cards and start the game.
  3. Flip the cards by clicking on them to reveal the numbers.
  4. Match pairs of cards with the same number to solve the puzzle.
  5. Continue until all pairs are matched to win the game!

Screenshots

memoryGameScreen

Learning Outcomes

This project helped me develop and improve skills in:

  • React Hooks: Managing component state efficiently using useState.
  • Frontend Development: Understanding functional components.

Acknowledgements

This project was inspired by the tutorial “React JS Interview Questions (Memory Game)” by RoadsideCoder.

Happy Coding! 😊

About

An interactive and customizable Memory Game built with React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors