|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tabacha.cgo.AbstractEngine
de.tabacha.cgo.strategy.Dude
Dumb strategy, mainly for testing purposes.
$Id: Dude.java,v 1.13 2004/12/23 21:42:44 mk Exp $
Field Summary |
Fields inherited from interface de.tabacha.cgo.Constants |
BALL, COL_COUNT, DCOL, DOWN, DROW, E, EMPTY, FIRST_DIRECTION, KICK_OFF_FIELD, LAST_DIRECTION, N, NE, NW, OPPOSITE, PIECE, ROW_COUNT, S, SE, SW, UP, UPSIDEDOWN, W |
Constructor Summary | |
Dude()
Constructor. |
Method Summary | |
java.lang.String |
getAuthor()
Returns the localized version of the author property. |
java.lang.String |
getVersion()
Returns the localized version of the version property. |
Move |
think(Board position)
Returns the best move. |
Methods inherited from class de.tabacha.cgo.AbstractEngine |
canPlayBothSides, getDescription, getI18nProperty, getName, initGame, random |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Dude()
Method Detail |
public java.lang.String getVersion()
AbstractEngine
getVersion
in interface Engine
getVersion
in class AbstractEngine
Engine.getVersion()
public java.lang.String getAuthor()
AbstractEngine
getAuthor
in interface Engine
getAuthor
in class AbstractEngine
Engine.getAuthor()
public Move think(Board position)
position
- The actual position
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |