Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Simple game of Snake in CSS

The snake is represented as an ordered collection of list items, decorated with html-attributes - the html-attributes are recognized by the stylesheet which uses animations to make the snake move.

< 100 lines of spaghetti javascript makes sure the attributes are updated to the correct values after each animation iteration.

Why? Because inspecting the DOM while playing is mesmerizing!

Example gameplay

About

Snake Game implemented mostly using CSS animations and abusing the DOM

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.