|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.common.player.AbstractBasePlayer
games.strategy.common.player.AbstractBaseAI
games.strategy.kingstable.player.AbstractAI
games.strategy.kingstable.player.RandomAI
public class RandomAI
AI agent for King's Table. Plays by attempting to move a random piece to a random square on the board.
| 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 |
|---|
public RandomAI(java.lang.String name)
| Method Detail |
|---|
protected void play()
play in class AbstractAI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||