Skip to content

guckstift/shortest-js-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snake As Short As I Can

Shortest Snake implementation I could do with HTML5 and ES6 while still respecting readability. This way my Snake source code is only 32 lines of HTML+JS code. Yet its a super simple version.

There is an even shorter minimalist version in shorter.html without HTML boilerplate => 22 LOC!

Then there is the hand-minified version in min.html. I tried to squeeze out as much bytes as I could => 348 Bytes only

About

HTML/JavaScript Snake game in only 348 Bytes or 32 readable lines of code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages