Remove all the blocks before the timer turns off. The same colored blocks explode when they come near to each other. You can drag the block to possible vacant locations.