Attackers sorting, Blocking groups - rule 509.3. Fixed Issue 195.

This commit is contained in:
magenoxx 2011-08-02 21:32:05 +04:00
parent 4627c92d41
commit d33bf20bf0
11 changed files with 209 additions and 43 deletions

View file

@ -892,6 +892,12 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
return min;
}
@Override
public UUID chooseAttackerOrder(List<Permanent> attackers, Game game) {
//TODO: improve this
return attackers.iterator().next().getId();
}
@Override
public UUID chooseBlockerOrder(List<Permanent> blockers, Game game) {
//TODO: improve this