public static synchronized String createGame(String rules, User user) {
		for (GameRoom room : briscaGames) {
			// if(room==null)continue;
			if (!room.isBeenPlayed()) {
				String roomname = ((rules.split(GameSocketServer.ROOMNAMEKEY)[1])
						.split(",")[0]);
				roomname = ManagerSocketServer.sanitizeWord(roomname);
				room.setName(roomname);
				room.setParameters(rules);
				room.addPlayer(Player.getInstance(0, user));
				return roomname;
			}
		}
		return null;
	}