Skip to content

Files

Latest commit

 

History

History
52 lines (44 loc) · 2.26 KB

README.md

File metadata and controls

52 lines (44 loc) · 2.26 KB

Snake Game

GitHub Website Website

Snake game with react and smooth animations


preview.mp4

Features

✔️ Moving with arrow keys
✔️ Double speed with spacebar
✔️ Increase speed when ate the apple
✔️ Save the score
✔️ See the leaderboard
✔️ Animations
✔️ Sounds
✔️ Buttons for mobile
✔️ Mutation skill: Eat golden apple to disable all collisions

Stack

Installation

  1. Install NodeJS

  2. Install Yarn

npm install --global yarn
  1. Clone this repo or download it

  2. Use .env.example files to create .env files

  3. Install dependencies (run this in the root of the project)

cd server && yarn install && cd .. && cd client && yarn install && cd ..
  1. Start server and client (run this in the root of the project)
cd server && start yarn start:dev && cd .. && cd client && start yarn start && cd ..