public boolean hasWon(ArrayList<Integer> arr) {
		boolean won = true;
		int ownScore = 0;
		if (game.getPlayerCount() != 2) {
			ownScore = arr.get(player.getColor() * 2);
		} else {
			if (player.getColor() == 0) {
				ownScore = arr.get(0);
			} else {
				ownScore = arr.get(2);
			}
		}
		ArrayList<Integer> otherScores = new ArrayList<Integer>();
		for (int i = 0; i < arr.size(); i = i + 2) {
			if (i != player.getColor() * 2) {
				otherScores.add(arr.get(i));
			}
		}

		for (int i : otherScores) {
			if (i >= ownScore) {
				won = false;
			}
		}
		return won;
	}