Skip to content

snake game written in vanilla javascript, no canvas, under 100 lines of code.

Notifications You must be signed in to change notification settings

adamlubek/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

Classic snake game written in vanilla javascript, no canvas, under 80 lines of code. Game logic (snake.js) is separate from rendering so game can be run from:

  • HTML page: open snake.html (uses snake.js and html-renderer.js)
  • Node console: run "node node-renderer.js" (uses snake.js)

Live example: https://codepen.io/adamlubek/pen/XxeRRa?editors=0011

About

snake game written in vanilla javascript, no canvas, under 100 lines of code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published