Skip to content

A fun and addictive emoji game built with ReactJS. Test your memory and agility by clicking on emojis while aiming for the highest score! The app is fully responsive, ensuring an optimal gaming experience across all devices.

Notifications You must be signed in to change notification settings

GN-coding/Emoji-Game_With-React

Repository files navigation

In this project, building a Emoji Game by using React

Refer to the image below:


emoji-game-output

Design Files

Click to view

Set Up Instructions

Click to view
  • Download dependencies by running npm install
  • Start up the app using npm start

Completion Instructions

Functionality to be added

The app must have the following functionalities

  • Initially, the Score and Total Score for the current game should be 0

  • When an Emoji is clicked,

    • If it is not the same as any of the previously clicked emojis, then the Score should be incremented by one

    • If all the emojis are clicked exactly once

    • If it is the same as any of the previously clicked emojis

    • If the score achieved in the current game is higher than the previous scores then the Top Score should be updated accordingly

  • When the Play Again button is clicked, then we should be able to play the game again

    • The Score value should be reset but not the Top Score value
  • The EmojiGame component receives the emojisList as a prop. It consists of a list of emoji objects with the following properties in each emoji object

    Key Data Type
    id Number
    emojiName String
    emojiUrl String
Components Structure
emoji game view component breakdown structure

emoji game win or lose component breakdown structure

Implementation Files

Use these files to complete the implementation:

  • src/components/EmojiGame/index.js
  • src/components/EmojiGame/index.css
  • src/components/NavBar/index.js
  • src/components/NavBar/index.css
  • src/components/EmojiCard/index.js
  • src/components/EmojiCard/index.css
  • src/components/WinOrLoseCard/index.js
  • src/components/WinOrLoseCard/index.css

About

A fun and addictive emoji game built with ReactJS. Test your memory and agility by clicking on emojis while aiming for the highest score! The app is fully responsive, ensuring an optimal gaming experience across all devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published