Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 436 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 436 Bytes

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 many bytes as I could => 340 Bytes only