Update endgamestate.java