This is Nurikabe, a japanese puzzle game
To learn how to play, click here
Click a square to make it part of the wall (green)
Click again to make it part of a group (purple)
Click a third time to change it back to the default state (gray)
By default all squares gray unless part of a group
Form a continuous, non-looping wall around all groups
Note: The wall can't have any groupings of 2x2 squares
More Nurikabe Puzzles:
Puzzle 1 - Puzzle 2