games.strategy.kingstable.player
Class BetterAI

java.lang.Object
  extended by games.strategy.common.player.AbstractBasePlayer
      extended by games.strategy.common.player.AbstractBaseAI
          extended by games.strategy.kingstable.player.AbstractAI
              extended by games.strategy.kingstable.player.BetterAI
All Implemented Interfaces:
IGamePlayer, IRemote, IKingsTablePlayer

public class BetterAI
extends AbstractAI


Nested Class Summary
static class BetterAI.Algorithm
          Algorithms available for use in BetterAI
 
Field Summary
static int counter
           
 
Fields inherited from class games.strategy.common.player.AbstractBasePlayer
m_bridge, m_id, m_name
 
Constructor Summary
BetterAI(java.lang.String name, BetterAI.Algorithm algorithm)
           
 
Method Summary
 void initialize(IPlayerBridge bridge, PlayerID id)
          Called before the game starts.
protected  void play()
           
 
Methods inherited from class games.strategy.kingstable.player.AbstractAI
getRemotePlayerType, start
 
Methods inherited from class games.strategy.common.player.AbstractBaseAI
pause
 
Methods inherited from class games.strategy.common.player.AbstractBasePlayer
getGameData, getID, getName, getPlayerBridge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

counter

public static int counter
Constructor Detail

BetterAI

public BetterAI(java.lang.String name,
                BetterAI.Algorithm algorithm)
Method Detail

initialize

public void initialize(IPlayerBridge bridge,
                       PlayerID id)
Description copied from interface: IGamePlayer
Called before the game starts.

Specified by:
initialize in interface IGamePlayer
Overrides:
initialize in class AbstractBasePlayer

play

protected void play()
Specified by:
play in class AbstractAI