slightly better loosing behavior. The alert statement should be replaced by some sort of animation or other medium that conveys loosing. The rest of the function that stops and starts the clock, changes protagonist, and such is spot on.