Convert GameClock to game_loop library