if (isMe(p)) return points;
return -points/enemyPlayers;
}
protected double chanceToPlaceTile(Game game, Position pos) {
EdgePattern pattern = game.getBoard().getAvailMoveEdgePattern(pos);
if (pattern != null && pattern.wildcardSize() < 2) {
int remains = game.getTilePack().getSizeForEdgePattern(pattern);
if (remains == 0) return 0.0;
if (remains < game.getAllPlayers().length) {
if (remains == 0) return 0.0;
return 1.0 - Math.pow(1.0 - 1.0 / (game.getAllPlayers().length), remains);