Tap a shape to delete it from the board. The board "implodes" toward the tap filling the hole. Shapes consisting of a single square cannot be deleted.
There are three ways to win. The easiest is to delete non-black shapes until all of the black shapes combine into a single shape. Tap the single black shape and win! A harder way to win is to clear the entire board. The really hard way to win is to first delete all of the non-black shapes and then tap the single remaining black shape.
Since the board implodes in a predictable manner you can devise ways to get the board into helpful configurations.