An open API service indexing awesome lists of open source software.

https://github.com/jdcodework/emoji-game

A React implementation of a concentration game
https://github.com/jdcodework/emoji-game

typescript-react zustandjs

Last synced: 9 months ago
JSON representation

A React implementation of a concentration game

Awesome Lists containing this project

README

          

# Emoji Game

A React implementation of a concentration game based on the one proposed by the content creator [Joy of Code](https://youtu.be/w2q9caYXgkg?si=XmXt3IsLfibNX8GO)

## Features

- **Interactive Gameplay**: Flip the cards to find matching pairs of emojis.
- **Timer**: A countdown timer that adds urgency to the game.
- **Sound Effects**: Enjoy sound effects for different game actions.
- **Responsive Design**: Optimized for both desktop and mobile devices.
- **Game States**: Different views for playing, paused, won, and lost states.
- **Animations**: Smooth animations for card flips and other interactions.

## Demo

Note that the game has sounds, if you want to see the full functionality you can run it locally

![losing the game](./docs/demo/lose.gif)

![winning the game](./docs/demo/win.gif)

## Technologies Used

- **React with TypeScript**: For building the user interface with type safety.
- **Vite**: For fast and optimized development.
- **TailwindCSS**: For styling the components.
- **Zustand**: For state management.

## Run Locally

Clone the project

```bash
git clone https://github.com/JDCodeWork/emoji-game.git
```

Go to the project directory

```bash
cd emoji-game
```

Install dependencies

```bash
npm install
```

Start the development server

```bash
npm run dev
```