HOW TO PLAY: Use the left and right arrow keys to move the punching glove from side to side. When the fly swatter is under the fly, press the up arrow key to "swat" him. Each swat is worth one point. When you reach a score of sixteen points, you win and the game will reset.
HOW I COMPLETED THE CODE: GLOVE: I finished code by making the glove move up, wait 0.3 secs and then move down when the up arrow key is pressed to mimick a punching movement. PIRATE POWELL: To change the score when Pirate Powell is punched, I programmed the score to be changed by 1 point every time, he touches the punching glove. I programmed the game to reset once the score is higher than fifteen points. After I solved the code, I just replaced the pictures with a fly-swatter, a fly and a pie to change the game.