added setTimer() to set game-running-time