CheckTime(): The behavior of this function depends on the mole’s
status. If the mole is currently down, randomly determine if it should
pop up. If the mole is up, check to see if the popupLength has been
exceeded. If so, lose a life and consider ending the game.