games.strategy.kingstable.player
Class RandomAI

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.RandomAI
All Implemented Interfaces:
IGamePlayer, IRemote, IKingsTablePlayer

public class RandomAI
extends AbstractAI

AI agent for King's Table. Plays by attempting to move a random piece to a random square on the board.

Version:
$LastChangedDate: 2007-06-19 11:39:15 -0700 (Tue, 19 Jun 2007) $
Author:
Lane Schwartz

Field Summary
 
Fields inherited from class games.strategy.common.player.AbstractBasePlayer
m_bridge, m_id, m_name
 
Constructor Summary
RandomAI(java.lang.String name)
           
 
Method Summary
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, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomAI

public RandomAI(java.lang.String name)
Method Detail

play

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