#10 implement game clock