Skip to content

ParthKalkar/snake-game-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake-game-javascript

Simple snake game made with Vanilla JS, HTML and CSS.

How to Run -

  1. Clone the repo using the git bash or directly download the .zip file
  2. Click on the file index.html
  3. Game will start in some browser

How to Play -

  1. Use keyboard arrows to direct the snake
  2. Backspace will automatically direct the snake to turn backwards

Prequisites -

Need to have a browser (Chrome, Mozilla, Safari, Opera, etc)

Code Snippets -

  1. CSS -

image

image

  1. HTML -

image

  1. JS -

image

image

image

Output -

  1. image

  2. image

About

Simple snake game made with Vanilla JS, HTML and CSS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published