A propagation and dispersion game - CPU has a strategy

Made with ‪#‎javascript‬ ‪#‎HTML5‬ ‪#‎CSS3‬ - A decision making tool
The potential networks of propagation of the blast of the chain reaction of
explosion are now shown in real time. The yellow segments represent distances that
are smaller than the ray of a blast so you can use the pattern as a tool to take
optimal decisions. The calculations are also used to help the CPU to play better.
You are going to play in turns against the CPU. Now you can only click once
to generate an explosion. The balls blasted by an explosion are blown up and the
explosion generated by a level N explosion has a N+1 level. A level N explosion
brings N points to your score so the goal of the game is to create the longest
chain reactions you can. The balls that have disapeared are then injected in the
game area for the next turn. The one who scores first 5000 points wins the battle.

More samples and useful functions here