Pure CSS Game - No JS!
This is my POC of making CSS Games without any js.
I made a small game of killing birds, with score and with out any line of js.
http://codepen.io/elad2412/pen/hBaqo
the birds are flying label tag with "for" attribute, when you hit them with the mouse you change the status of hidden checkbox and by that you hide them.
there is counter that count the unselected checkbox, and present the score on the screen.
I will be happy to know what you think about this & "KILL THE BIRDS" :-).
Elad Shechter
Written by Elad Shechter
Related protips
5 Responses
That's impressive, great job.
over 1 year ago
·
Is 6th bird killable?
over 1 year ago
·
I killed just 1 bird. D:
over 1 year ago
·
Yep, you can kill all the birds
over 1 year ago
·
hitting the birds does not work, any workaround?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#