Skip to content

DevChrisMiller/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnakeGame

This is a responsive version of the classic snake game created using only HTML, CSS, and Javascript. The game was challenging but fun to make at the same time. It shows off the use of a game loop to update the page. The rate of expansion and snake speed can be adjusted by simply changing either the snakeSpeed or expansionRate constants in the game.js file. The score is implemented on the page using DOM manipulation. I used AlertifyJS for the postgame confirmation box, and added sound effects when food is eaten and when the game ends. My high score is 280... can you beat it? ;)

About

The classic Snake Game created using only HTML, CSS, and JS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published