Remove all the tiles from the board. Pair up similar tiles to remove them. The tiles may not be covered and must have a free space on the left or right edge.
Defend the main building from incoming enemy units. The enemy will try the approach from different sides, so you must ensure that your defenses do not leave room for any units to slip past.