Eliminate the blocks of each stack by matching up the monsters. If the stack gets too high, you lose.