ai
Class AIFactory

java.lang.Object
  extended by ai.AIFactory
All Implemented Interfaces:
net.antichess.ai.AiPlayerFactory

public class AIFactory
extends Object
implements net.antichess.ai.AiPlayerFactory

Implementation of AIPlayerFactory - See http://antichess.mit.edu:8080/core/index.html


Field Summary
static String PROPERTY_BLACK_NAME
           
static String PROPERTY_INIT_TIME_BLACK
           
static String PROPERTY_INIT_TIME_WHITE
           
static String PROPERTY_POWERUP_PLACEMENT
           
static String PROPERTY_RULE_SET
           
static String PROPERTY_TIMED_GAME
           
static String PROPERTY_WHITE_NAME
           
 
Constructor Summary
AIFactory()
          See http://antichess.mit.edu:8080/core/index.html
 
Method Summary
 Player createPlayer(boolean isWhite, int whiteTime, int blackTime, String powerups)
           
 Player createPlayer(boolean isWhite, int whiteTime, int blackTime, String powerups, int w1, int w2, int w3, int w4)
           
 Player createPlayer(boolean isWhite, Properties gameProperties, net.antichess.ai.ChatProxy chatProxy, net.antichess.ai.ChatHistoryViewer chatHistoryViewer, byte[] persistentState, int persistentStateSizeLimit)
          See http://antichess.mit.edu:8080/core/index.html
 Player createPlayer(boolean isWhite, Properties gameProperties, net.antichess.ai.ChatProxy chatProxy, net.antichess.ai.ChatHistoryViewer chatHistoryViewer, byte[] persistentState, int persistentStateSizeLimit, int w1, int w2, int w3, int w4)
           
 Collection<String> getSupportedRulesets()
          See http://antichess.mit.edu:8080/core/index.html
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_BLACK_NAME

public static final String PROPERTY_BLACK_NAME
See Also:
Constant Field Values

PROPERTY_INIT_TIME_BLACK

public static final String PROPERTY_INIT_TIME_BLACK
See Also:
Constant Field Values

PROPERTY_WHITE_NAME

public static final String PROPERTY_WHITE_NAME
See Also:
Constant Field Values

PROPERTY_INIT_TIME_WHITE

public static final String PROPERTY_INIT_TIME_WHITE
See Also:
Constant Field Values

PROPERTY_TIMED_GAME

public static final String PROPERTY_TIMED_GAME
See Also:
Constant Field Values

PROPERTY_RULE_SET

public static final String PROPERTY_RULE_SET
See Also:
Constant Field Values

PROPERTY_POWERUP_PLACEMENT

public static final String PROPERTY_POWERUP_PLACEMENT
See Also:
Constant Field Values
Constructor Detail

AIFactory

public AIFactory()
See http://antichess.mit.edu:8080/core/index.html

Method Detail

createPlayer

public Player createPlayer(boolean isWhite,
                           int whiteTime,
                           int blackTime,
                           String powerups)

createPlayer

public Player createPlayer(boolean isWhite,
                           int whiteTime,
                           int blackTime,
                           String powerups,
                           int w1,
                           int w2,
                           int w3,
                           int w4)

createPlayer

public Player createPlayer(boolean isWhite,
                           Properties gameProperties,
                           net.antichess.ai.ChatProxy chatProxy,
                           net.antichess.ai.ChatHistoryViewer chatHistoryViewer,
                           byte[] persistentState,
                           int persistentStateSizeLimit)
See http://antichess.mit.edu:8080/core/index.html

Specified by:
createPlayer in interface net.antichess.ai.AiPlayerFactory

createPlayer

public Player createPlayer(boolean isWhite,
                           Properties gameProperties,
                           net.antichess.ai.ChatProxy chatProxy,
                           net.antichess.ai.ChatHistoryViewer chatHistoryViewer,
                           byte[] persistentState,
                           int persistentStateSizeLimit,
                           int w1,
                           int w2,
                           int w3,
                           int w4)

getSupportedRulesets

public Collection<String> getSupportedRulesets()
See http://antichess.mit.edu:8080/core/index.html

Specified by:
getSupportedRulesets in interface net.antichess.ai.AiPlayerFactory