Rules
There are two colors -- white and black for each tile. When you click one tile, the surrounding tiles and itself change their colors. Here the surrounding tiles means having one edge the same with the current tile, e.g. for tile 0, the sour rounding tiles are tile 1and 3.
How to Win
While all the tiles are black, you win!