Click on a gift to open it. If you got a good gift, it will reveal the number of adjacent bad gifts (including diagonally). For instance, if a good gift reveals the number 1, there is a bad gift adjacent to it. Try to open only the good gifts. If you open the explosives, the game is over.