Trick or treat by pressing space. Up arrow either makes you lose two sweets or add 2 times more than your current amount sweets onto your current amount.