Canvas - Island - sample 06 - Dynamite

I want to create a worms-like game and I see there are a lot of interesting things
to deal with canvas and image data. These functions are useful for ‪#‎javascript‬ ‪#‎HTML5‬ ‪#‎CSS3‬ .
The dynamite is now available in the options to be selected. Then your character can walk and if
you click on the dynamite icon in the interface then the dynamite is planted. You have 5 seconds
to run as far as you can. I have also added three images to illustrate the end of the game that can
be the victory, the defeat or a draw.

More samples and useful functions here