Skip to content

Snake Game with react With custom 3 Speed Levels and High Score Functionality

Notifications You must be signed in to change notification settings

VinayakPorwal/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnakeGame

I Created a Snake Game using React

Concepts :

Grid 18*18

setInterval //for Gameloop

Array for Snake

Random int generator on A given range for food generation

LocalStorage for HighScore

Radio buttons for Level selection

EventListeners for Controls

Hooks used : useEffect and useState

Features :

It has Custom Levels for speed

Easy / Medium / Hard

And a High Score for Your On Device Via Local Storage

Score : 12 HighScore: 21

Deployed On github Gh-pages:

https://vinayakporwal.github.io/SnakeGame

Fun to play And More to Build

About

Snake Game with react With custom 3 Speed Levels and High Score Functionality

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published