Re:HTML5 game written in 0 lines of JS
by recon517 on Friday November 22, 2013 @12:16PM
(#6782111)
Collision detector uses CSS hover effect. If you don't move your mouse, hover is not triggered.
[ Parent
| on HN ]
sigh, it just goes to show CSS/HTML alone isn't ready for such computation quite yet.
Actually.. There is a way to do it that I was in the process of creating for my personal CSS only game I made 2+ years ago. It involved having a div slide over the content with a specific hover event that would require the user to keep moving their mouse every X seconds or the you lose screen would cover the page.