Skip to content

This is a simple memory matching game built with Expo and React Native. The game consists of a board of icons that are shuffled each time the game is started. The player flips two cards at a time, trying to find matching pairs. The game ends when all pairs have been found.

Notifications You must be signed in to change notification settings

RajalakshmiR24/Memory_Matching_icon_game

Repository files navigation

Memory Matching icon game

This is a simple memory matching game built with Expo and React Native. The game consists of a board of icons that are shuffled each time the game is started. The player flips two cards at a time, trying to find matching pairs. The game ends when all pairs have been found. Memory Matching icon game


Getting Started

To get started with the game, you will need to have Expo installed on your machine. Once you have Expo installed, you can run the game using the following commands:


Copy code

$ npm install

$ npm start

This will start the Expo development server and open the game in your default web browser. You can also use the Expo app on your mobile device to scan the QR code that is displayed in the terminal.


How to Play

To play the game, simply tap on any two cards to flip them over. If the icons on the cards match, they will remain face up. If the icons do not match, the cards will flip back over and you will have to try again.

The game ends when all pairs have been found. You can restart the game at any time by clicking the "Restart" button.


Customizing the Game

You can customize the game by editing the "src/data/icons.js" file. This file contains an array of objects that define the icons used in the game. Each object has a "name" and a "icon" property. You can add or remove objects to change the icons used in the game.


Dependencies

This game was built with the following dependencies:

  • Expo
  • React
  • React Native
  • React Navigation
  • React Native Elements
  • Lodash

License

This game is licensed under the MIT License. See the 'LICENSE' file for more information.

About

This is a simple memory matching game built with Expo and React Native. The game consists of a board of icons that are shuffled each time the game is started. The player flips two cards at a time, trying to find matching pairs. The game ends when all pairs have been found.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published