##HighOrLowNotSelf##
HighOrLowNotSelf
Removes randomly lowest or highest intelligence player (but not self).
public class HighOrLowNotSelf extends Player{
@Override
public int vote(Set<Integer> ops) {
int b=Math.round(Math.random()*1);
int p;
if(b==1) p=Collections.max(ops) else p=Collections.min(ops);
if(p==getSmartness()) {
return vote(ops);
}
return p;
}
}