forked from External/mage
AI: removed outdated AIMinimax project (#7075), removed some useless player classes, code and config files, improved docs;
This commit is contained in:
parent
6ac2f44cc1
commit
08b99fcbf7
40 changed files with 103 additions and 2462 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<artifactId>mage-player-ai-draftbot</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Mage Player AI.DraftBot</name>
|
||||
<name>Mage Player AI (draft bot)</name>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
|
||||
|
||||
package mage.player.ai;
|
||||
|
||||
import mage.constants.RangeOfInfluence;
|
||||
import mage.game.Game;
|
||||
import mage.game.Table;
|
||||
import mage.game.tournament.TournamentType;
|
||||
import mage.players.Player;
|
||||
|
||||
/**
|
||||
* AI: server side bot for drafts (draftbot, the latest version)
|
||||
* <p>
|
||||
* Can play drafts only, concede/lose on any real game and tourney
|
||||
*
|
||||
* @author nantuko
|
||||
*/
|
||||
public class ComputerDraftPlayer extends ComputerPlayer implements Player {
|
||||
public class ComputerDraftPlayer extends ComputerPlayer {
|
||||
|
||||
public ComputerDraftPlayer(String name, RangeOfInfluence range) {
|
||||
super(name, range);
|
||||
|
|
@ -46,7 +46,7 @@ public class ComputerDraftPlayer extends ComputerPlayer implements Player {
|
|||
public boolean canJoinTable(Table table) {
|
||||
if (table.isTournament()) {
|
||||
TournamentType tournamentType = table.getTournament().getTournamentType();
|
||||
if(tournamentType != null && tournamentType.isDraft()) {
|
||||
if (tournamentType != null && tournamentType.isDraft()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue