Refactor Game.