Skip to content

Smooth and nice-looking snake game. Written with React, Node, Express, Typescript

License

Notifications You must be signed in to change notification settings

AuroPick/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ..