//Example for storing per-player scoresHashMap<String, Integer> playerScores = new HashMap<String, Integer>(); //Setting scoreplayerScores.put(player.getName(), score);