mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08:00
Some changes to AI player.
This commit is contained in:
parent
59c50436ac
commit
f63fae06de
5 changed files with 49 additions and 27 deletions
|
|
@ -160,6 +160,10 @@ import org.apache.log4j.Logger;
|
|||
public class ComputerPlayer extends PlayerImpl implements Player {
|
||||
|
||||
private transient final static Logger log = Logger.getLogger(ComputerPlayer.class);
|
||||
|
||||
protected int PASSIVITY_PENALTY = 5; // Penalty value for doing nothing if some actions are availble
|
||||
protected boolean ALLOW_INTERRUPT = true; // change this for test purposes to switch off interrupts while debugging
|
||||
|
||||
private transient Map<Mana, Card> unplayable = new TreeMap<>();
|
||||
private transient List<Card> playableNonInstant = new ArrayList<>();
|
||||
private transient List<Card> playableInstant = new ArrayList<>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue