Refactor Game.java