I'm coding mine to change the score instead of stopping the game. If you'd like to code your similar, you can "see inside" and follow my code.