Modified game.java