Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/odilson-dev/memory-card

Memory Card Game is a React-based project, done as an Assignment from Odin
https://github.com/odilson-dev/memory-card

memory-card netlify-deployment reactjs

Last synced: 2 days ago
JSON representation

Memory Card Game is a React-based project, done as an Assignment from Odin

Awesome Lists containing this project

README

        

# Memory Card Game

## Introduction

Memory Card Game is a project that lets users play a card game where they must remember the images and texts on cards. The game uses React to manage state and render dynamic components. The game includes a scoreboard that tracks the current score and a best score, which shows the highest score achieved thus far.

## Features

- **Scoreboard**: Displays the current score and the highest score achieved.
- **Shuffle Cards**: Shuffles and randomizes the order of the cards whenever the user clicks one.
- **Card Components**: Displays a series of cards with images and informational texts fetched from an external API.
- **API Integration**: Uses PokeAPI to fetch images and texts for the cards.
- **Dynamic State Management**: Uses React's state and props for efficient data handling.

## Getting Started

1. **Clone the Repository**: Clone this repository to your local machine.

```bash
git clone https://github.com/odilsoncode/memory-card.git
```

2. **Navigate to the Project Directory**:

```bash
cd memory-card
```

3. **Install Dependencies**:

```bash
npm install
```

4. **Start the Development Server**:

```bash
npm run dev
```

5. **View the Application**: The application will run on [http://localhost:5173](http://localhost:5173).

## Conclusion

Memory Card Game is a fun and interactive project that challenges users' memory and attention. By completing this project, i gained experience with React components, state management, props, and API integration. The application is designed to be engaging and can be easily customized for various themes and purposes.

Thank you for exploring this project!