A casual game with blocks - Bigger areas attacked

You play now against an AI that makes smarter choices than in the previous
version of the game. The CPU finds where are the cells that can make it score
the maximum amount of points then choose randomly one of them. You can follow
the thinking of the CPU in the console of your browser. Anyway you still can
defeat the CPU because it doesn't anticipate the configuration of the grid when
it will be your turn to play. A strategy to beat it is to create tramps giving
the CPU lots of point but leaving even more points to you in the next round.
Click on a block to destroy all the cells surounding it with the same color. The
more the removed cells are far from the clicked block, the more points you get.
The winners is the one scoring 1000 points or more.

More samples and useful functions here