# react-simple-snake
**Repository Path**: yuncommunity/react-simple-snake
## Basic Information
- **Project Name**: react-simple-snake
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-08-07
- **Last Updated**: 2024-09-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# react-simple-snake
[](https://github.com/MaelDrapier/react-simple-snake/blob/master/LICENSE)
[](https://www.npmjs.com/package/react-simple-snake)
[](https://www.npmjs.com/package/react)
[](https://www.npmjs.com/package/react-simple-snake)
A simple snake game created with the [React](https://reactjs.org) JavaScript library.
- [Demo](#demo)
- [Installation](#installation)
- [To add it to your React app](#to-add-it-to-your-react-app)
- [To launch the development server](#to-launch-the-development-server)
- [Dependencies](#dependencies)
- [Usage](#usage)
- [To import it in your component](#to-import-it-in-your-component)
- [Props](#props)
- [How to play](#how-to-play)
- [High-Score](#high-score)
## Demo
[](https://MaelDrapier.github.io/react-simple-snake)
A demo is available [here](https://MaelDrapier.github.io/react-simple-snake).
## Installation
### To add it to your react app
- `npm install react-simple-snake`
### To launch the development server
- `git clone https://github.com/MaelDrapier/react-simple-snake.git`
- `cd react-simple-snake`
- `npm install`
- `npm start`
## Dependencies
This project needs [react](https://www.npmjs.com/package/react) to operate. Install it with `npm install react`
## Usage
### To import it in your component
``` javascript
import Snake from 'react-simple-snake'
export default function YourComponent() {
return(