Here's a peek at the code. We'll store the player's health and powerup in variables, then use conditionals to update health.