Doing it with style
A CSS only game of 'Whack-a-Rat'.
The object of the game is to hit as many 'rats' as possible by clicking the mouse on each rat as it pops up. A hit will be recorded by showing a hammer 'BAM' on the rat. This will also increment the counter at the bottom of the game area.
There are 15 rats and you have 15 seconds to hit as many as you can. The time left is shown as a vertical bar on the right of the playing area which reduces in height as the time passes.
To restart the game click 'REPLAY' at the top of the playing area.
Because this uses keyframe animation it will not work on IE or Opera (at the moment).
15th February 2013
Now working in IE10, IE10 touch screen and Opera.
Because of all the time and effort spent in producing this demonstration I would ask that you respect my copyright.
This demonstration can be used subject to the following terms and conditions.
Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.