Rearranged code in Game.java