public synchronized String getGameScore() {
		if (game == null)
			throw new IllegalStateException();
		String result = "score=\"" + "Round " + game.getCurrentRound()
				+ ":\nPlayer : Score";
		boolean teams = (Boolean) (game.getParameter(GameSocketServer.TEAMS));

		for (int i = 0; i < playerCount; i++) {
			result += "\n" + players[i].getUser().getUsername() + ":"
					+ players[i].getScore();
		}
		if (teams) {
			result += "\nTeam Scores:";
			for (int i = 0; i < game.getNumberOfTeams(); i++) {
				result += "\nteam " + i + " has a score of"
						+ game.gameTeamScore(i);
			}
		}
		return result + "\"";
	}