public Player getPlayer(Color c)
	{
		if (c == Color.NONE) {
			return ai;
		}
		for (Player player: players) {
			if (player != null && player.getColor() == c) {
				return player;
			}
		}
		return null;
	}