Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
A
AbstractEngine
- class de.tabacha.cgo.
AbstractEngine
.
Basic implementation of Engine supports initialization and internationalization.
AbstractEngine()
- Constructor for class de.tabacha.cgo.
AbstractEngine
Constructor.
abort()
- Method in interface de.tabacha.cgo.
BackgroundGame
Aborts the game.
abort()
- Method in class de.tabacha.cgo.
DefaultGame
Interrupts the game.
abortEdit(HumanPlayer)
- Method in class de.tabacha.cgo.gui.
BoardComponent
abortGame()
- Method in class de.tabacha.cgo.gui.
CgoRootPane
Aborts the game.
actionPerformed(ActionEvent)
- Method in class de.tabacha.cgo.gui.
CgoRootPane
Listen to menu item selections (except for engine selections).
addGameListener(GameListener)
- Method in class de.tabacha.cgo.
DefaultGame
addGameListener(GameListener)
- Method in interface de.tabacha.cgo.
Game
Adds a GameListener that will be notified of game events.
addGameListener(GameListener)
- Method in class de.tabacha.cgo.tournament.
TournamentGame
addPiece(Field)
- Method in interface de.tabacha.cgo.
Board
Puts a piece (aka player) on the board.
addPiece(int, int)
- Method in interface de.tabacha.cgo.
Board
Puts a piece (aka player) on the board.
addPiece(Field)
- Method in class de.tabacha.cgo.
DefaultBoard
addPiece(int, int)
- Method in class de.tabacha.cgo.
DefaultBoard
averageTime(boolean)
- Method in class de.tabacha.cgo.tournament.
TournamentGame
B
BALL
- Static variable in interface de.tabacha.cgo.
Constants
BackgroundGame
- interface de.tabacha.cgo.
BackgroundGame
.
A data model for a game of ConwayGo played in another Thread in the background.
Board
- interface de.tabacha.cgo.
Board
.
A data model for (conway)go boards.
BoardComponent
- class de.tabacha.cgo.gui.
BoardComponent
.
A swing component for displaying a (conway)go board.
BoardComponent()
- Constructor for class de.tabacha.cgo.gui.
BoardComponent
Constructor.
bestMove()
- Method in class de.tabacha.cgo.strategy.
FiveTypes
bestMove()
- Method in class de.tabacha.cgo.strategy.
ModernMikeGo
bestMove()
- Method in class de.tabacha.cgo.strategy.
NoRecursionTemplate
bestMove()
- Method in class de.tabacha.cgo.strategy.
SimpleEngine
board()
- Method in class de.tabacha.cgo.strategy.
NoRecursionTemplate
Returns a fast and small and immutable implementation of the Board interface.
C
COL_COUNT
- Static variable in interface de.tabacha.cgo.
Constants
CgoRootPane
- class de.tabacha.cgo.gui.
CgoRootPane
.
Root pane for conwaygo with menu bar, board, etc.
CgoRootPane()
- Constructor for class de.tabacha.cgo.gui.
CgoRootPane
Constructor.
CgoRootPane(boolean)
- Constructor for class de.tabacha.cgo.gui.
CgoRootPane
Constructor.
Constants
- interface de.tabacha.cgo.
Constants
.
Defines all the constants needed throughout this package.
ConwayGo
- class de.tabacha.cgo.gui.
ConwayGo
.
Class with main method for starting ConwayGo GUI.
ConwayGoApplet
- class de.tabacha.cgo.gui.
ConwayGoApplet
.
Applet for playing ConwayGo.
ConwayGoApplet()
- Constructor for class de.tabacha.cgo.gui.
ConwayGoApplet
canPlayBothSides()
- Method in class de.tabacha.cgo.
AbstractEngine
This default implementation always returns false.
canPlayBothSides()
- Method in interface de.tabacha.cgo.
Engine
Returns true if routine can play in direction UP and DOWN.
canPlayBothSides()
- Method in class de.tabacha.cgo.gui.
HumanPlayer
canPlayBothSides()
- Method in class de.tabacha.cgo.strategy.
MikeGo
canPlayBothSides()
- Method in class de.tabacha.cgo.strategy.
NoRecursionTemplate
clear()
- Method in class de.tabacha.cgo.
DefaultBoard
Removes all pieces and the ball from the field.
clone()
- Method in interface de.tabacha.cgo.
Board
Returns a deep copy of this object.
clone()
- Method in class de.tabacha.cgo.
DefaultBoard
clone()
- Method in class de.tabacha.cgo.
Field
clone()
- Method in class de.tabacha.cgo.
Jump
clone()
- Method in class de.tabacha.cgo.
Put
col()
- Method in class de.tabacha.cgo.
Field
computeSizes(int, int)
- Method in class de.tabacha.cgo.gui.
BoardComponent
Calculates the sizes of the elements.
createRootPane()
- Method in class de.tabacha.cgo.gui.
ConwayGo
Called by the constructor methods to create the default rootPane.
createRootPane()
- Method in class de.tabacha.cgo.gui.
ConwayGoApplet
Called by the constructor methods to create the default rootPane.
D
DCOL
- Static variable in interface de.tabacha.cgo.
Constants
DOWN
- Static variable in interface de.tabacha.cgo.
Constants
DROW
- Static variable in interface de.tabacha.cgo.
Constants
DefaultBoard
- class de.tabacha.cgo.
DefaultBoard
.
The 19x19 board from the game Go.
DefaultBoard()
- Constructor for class de.tabacha.cgo.
DefaultBoard
Constructs and resets the board.
DefaultBoard(byte[][], Field, boolean)
- Constructor for class de.tabacha.cgo.
DefaultBoard
Constructor that receives direct values.
DefaultGame
- class de.tabacha.cgo.
DefaultGame
.
Represents one game of conwaygo: two players and a board.
DefaultGame(Engine, Engine)
- Constructor for class de.tabacha.cgo.
DefaultGame
Constructor.
Dude
- class de.tabacha.cgo.strategy.
Dude
.
Dumb strategy, mainly for testing purposes.
Dude()
- Constructor for class de.tabacha.cgo.strategy.
Dude
Constructor.
de.tabacha.cgo
- package de.tabacha.cgo
The base classes for ConwayGo.
de.tabacha.cgo.gui
- package de.tabacha.cgo.gui
The classes for the graphical user interface.
de.tabacha.cgo.strategy
- package de.tabacha.cgo.strategy
Contains the engines that play ConwayGo.
de.tabacha.cgo.tournament
- package de.tabacha.cgo.tournament
Classes for playing tournaments and contests (for computer engines).
destroy()
- Method in interface de.tabacha.cgo.
BackgroundGame
Aborts the game, kills all running processes, frees all resources.
destroy()
- Method in class de.tabacha.cgo.
DefaultGame
Kills the threads.
destroy()
- Method in class de.tabacha.cgo.gui.
ConwayGoApplet
Destroys the applet.
E
E
- Static variable in interface de.tabacha.cgo.
Constants
EMPTY
- Static variable in interface de.tabacha.cgo.
Constants
Engine
- interface de.tabacha.cgo.
Engine
.
Implementing classes think about positions and try to find the best moves.
Evaluator
- class de.tabacha.cgo.strategy.
Evaluator
.
Evaluator(Random, ValueCalculator[])
- Constructor for class de.tabacha.cgo.strategy.
Evaluator
endEdit(HumanPlayer)
- Method in class de.tabacha.cgo.gui.
BoardComponent
equals(Object)
- Method in class de.tabacha.cgo.
DefaultBoard
Returns true if the other object is also a DefaultBoard and represents the same position.
equals(Object)
- Method in class de.tabacha.cgo.
Field
equals(Object)
- Method in class de.tabacha.cgo.
Put
evaluate(Board, Move, int, int)
- Method in class de.tabacha.cgo.strategy.
Evaluator
evaluateAtLevel(int, Board, Move, int, int)
- Method in class de.tabacha.cgo.strategy.
Evaluator
F
FIRST_DIRECTION
- Static variable in interface de.tabacha.cgo.
Constants
Field
- class de.tabacha.cgo.
Field
.
Just one field on the 19*19 board.
Field(int, int)
- Constructor for class de.tabacha.cgo.
Field
Constructor.
Field(Field)
- Constructor for class de.tabacha.cgo.
Field
Copy constructor.
FiveTypes
- class de.tabacha.cgo.strategy.
FiveTypes
.
Strategy for ConwayGo.
FiveTypes()
- Constructor for class de.tabacha.cgo.strategy.
FiveTypes
Constructor.
FiveTypes(boolean)
- Constructor for class de.tabacha.cgo.strategy.
FiveTypes
Constructor.
fieldIn(byte)
- Method in class de.tabacha.cgo.
Field
Returns the field that lies one step from this field in the specified direction.
fireGameAborted(boolean, Move, String)
- Method in class de.tabacha.cgo.
DefaultGame
Method to support listener events.
fireGameAborted(boolean, Move, String)
- Method in class de.tabacha.cgo.tournament.
TournamentGame
Method to support listener events.
fireGameEnded(boolean)
- Method in class de.tabacha.cgo.
DefaultGame
Method to support listener events.
fireGameEnded(boolean)
- Method in class de.tabacha.cgo.tournament.
TournamentGame
Method to support listener events.
fireGameStarted()
- Method in class de.tabacha.cgo.
DefaultGame
Method to support listener events.
fireGameStarted()
- Method in class de.tabacha.cgo.tournament.
TournamentGame
Method to support listener events.
fireHasMoved(boolean, Move)
- Method in class de.tabacha.cgo.
DefaultGame
Method to support listener events.
fireHasMoved(Move, boolean)
- Method in class de.tabacha.cgo.tournament.
TournamentGame
Method to support listener events.
firePlayerChanged(boolean)
- Method in class de.tabacha.cgo.
DefaultGame
Method to support listener events.
firePlayerChanged(boolean)
- Method in class de.tabacha.cgo.tournament.
TournamentGame
Method to support listener events.
G
Game
- interface de.tabacha.cgo.
Game
.
A data model for a game of ConwayGo.
GameEvent
- class de.tabacha.cgo.
GameEvent
.
Holds information about a change in the game.
GameEvent(Game, boolean)
- Constructor for class de.tabacha.cgo.
GameEvent
Constructor.
GameEvent(Game, boolean, Move)
- Constructor for class de.tabacha.cgo.
GameEvent
Called when a move has been performed.
GameEvent(Game, boolean, Move, String)
- Constructor for class de.tabacha.cgo.
GameEvent
Constructor.
GameListener
- interface de.tabacha.cgo.
GameListener
.
Classes that implement this listener are notified when something in the game has changed.
gameAborted(GameEvent)
- Method in interface de.tabacha.cgo.
GameListener
Signals that the game has been aborted.
gameAborted(GameEvent)
- Method in class de.tabacha.cgo.gui.
CgoRootPane
gameEnded(GameEvent)
- Method in interface de.tabacha.cgo.
GameListener
Signals that the game is over.
gameEnded(GameEvent)
- Method in class de.tabacha.cgo.gui.
CgoRootPane
gameStarted(GameEvent)
- Method in interface de.tabacha.cgo.
GameListener
Signals that a game has been started.
gameStarted(GameEvent)
- Method in class de.tabacha.cgo.gui.
CgoRootPane
get(String)
- Static method in class de.tabacha.cgo.gui.
I18n
Returns the translated message.
get(String, Object[])
- Static method in class de.tabacha.cgo.gui.
I18n
Returns the translated message with applied parameters.
get(String, String)
- Static method in class de.tabacha.cgo.gui.
I18n
Returns the translated message with the parameter applied.
getAppletInfo()
- Method in class de.tabacha.cgo.gui.
ConwayGoApplet
Returns information about this applet.
getAuthor()
- Method in class de.tabacha.cgo.
AbstractEngine
Returns the localized version of the author property.
getAuthor()
- Method in interface de.tabacha.cgo.
Engine
Returns the name of the author.
getAuthor()
- Method in class de.tabacha.cgo.strategy.
Dude
getAuthor()
- Method in class de.tabacha.cgo.strategy.
FiveTypes
getAuthor()
- Method in class de.tabacha.cgo.strategy.
MikeGo
getAuthor()
- Method in class de.tabacha.cgo.strategy.
ModernMikeGo
getAuthor()
- Method in class de.tabacha.cgo.strategy.
SimpleEngine
getBall()
- Method in interface de.tabacha.cgo.
Board
Returns the actual field of the ball.
getBall()
- Method in class de.tabacha.cgo.
DefaultBoard
getBestMove()
- Method in class de.tabacha.cgo.strategy.
Evaluator
getBestMoveValue(int)
- Method in class de.tabacha.cgo.strategy.
Evaluator
getBoard()
- Method in class de.tabacha.cgo.
DefaultGame
Returns the board with the game position.
getBoard()
- Method in interface de.tabacha.cgo.
Game
Returns the board with the game position.
getBoard()
- Method in class de.tabacha.cgo.gui.
BoardComponent
Returns the board model.
getBoard()
- Method in class de.tabacha.cgo.tournament.
TournamentGame
Returns the board with the game position.
getDescription()
- Method in class de.tabacha.cgo.
AbstractEngine
Returns the localized version of the description property.
getDescription()
- Method in interface de.tabacha.cgo.
Engine
Returns a longer text about this routine.
getDirection()
- Method in class de.tabacha.cgo.
GameEvent
Meaning of return value depends.
getField()
- Method in class de.tabacha.cgo.
Put
Returns the field where the figure is set.
getGame()
- Method in class de.tabacha.cgo.
GameEvent
Returns the game where this event evolved.
getGame()
- Method in class de.tabacha.cgo.gui.
CgoRootPane
Returns the model of this delegate.
getI18nProperty(String)
- Method in class de.tabacha.cgo.
AbstractEngine
Returns a localized version of the requested property.
getMessage()
- Method in class de.tabacha.cgo.
GameEvent
Returns the key for the locale resource bundle for textual information about the event.
getMinMaxRow()
- Method in class de.tabacha.cgo.strategy.
NoRecursionTemplate
getMove()
- Method in class de.tabacha.cgo.
GameEvent
For hasMoved : Returns the move that has just been performed.
getMove()
- Method in class de.tabacha.cgo.
InvalidMoveException
Returns the invalid move.
getMoveCount()
- Method in class de.tabacha.cgo.tournament.
TournamentGame
Returns the number of moves played in the game.
getName()
- Method in class de.tabacha.cgo.
AbstractEngine
Returns the localized version of the name property.
getName()
- Method in interface de.tabacha.cgo.
Engine
Returns the general (human-readable) name of the routine.
getPlayer(boolean)
- Method in class de.tabacha.cgo.
DefaultGame
Returns the engine that plays in the specified direction.
getPlayer(boolean)
- Method in interface de.tabacha.cgo.
Game
Returns the routine that makes the moves in the specified direction.
getPlayer(boolean)
- Method in class de.tabacha.cgo.tournament.
TournamentGame
getPlayerToMove()
- Method in class de.tabacha.cgo.
DefaultGame
Returns the player who has to move now.
getPlayerToMove()
- Method in interface de.tabacha.cgo.
Game
Returns the player that has to move now.
getPlayerToMove()
- Method in class de.tabacha.cgo.tournament.
TournamentGame
Returns the player who has to move now.
getValue(Board, Move, int, int)
- Method in interface de.tabacha.cgo.strategy.
ValueCalculator
getVersion()
- Method in class de.tabacha.cgo.
AbstractEngine
Returns the localized version of the version property.
getVersion()
- Method in interface de.tabacha.cgo.
Engine
Returns an internal identification string in addition to the official name.
getVersion()
- Method in class de.tabacha.cgo.gui.
HumanPlayer
getVersion()
- Method in class de.tabacha.cgo.strategy.
Dude
getVersion()
- Method in class de.tabacha.cgo.strategy.
FiveTypes
getVersion()
- Method in class de.tabacha.cgo.strategy.
MikeGo
getVersion()
- Method in class de.tabacha.cgo.strategy.
ModernMikeGo
getVersion()
- Method in class de.tabacha.cgo.strategy.
SimpleEngine
getWaitMove()
- Static method in class de.tabacha.cgo.gui.
BoardComponent
Returns the time to wait between two moves, in sec/1000.
getWinner()
- Method in class de.tabacha.cgo.tournament.
TournamentGame
Returns the playing direction of the winner of the game.
H
HumanPlayer
- class de.tabacha.cgo.gui.
HumanPlayer
.
The strategy is: The user makes the move.
HumanPlayer(BoardComponent)
- Constructor for class de.tabacha.cgo.gui.
HumanPlayer
Constructor.
HumanPlayer()
- Constructor for class de.tabacha.cgo.gui.
HumanPlayer
Constructor.
hasMoved(GameEvent)
- Method in interface de.tabacha.cgo.
GameListener
Signals that a move has been done.
hasMoved(GameEvent)
- Method in class de.tabacha.cgo.gui.
CgoRootPane
hasNextLeap()
- Method in class de.tabacha.cgo.
Jump
hashCode()
- Method in class de.tabacha.cgo.
DefaultBoard
As nearly all information about the position is in the byte arrays, returns the hash code of the two-dimensional field array.
hashCode()
- Method in class de.tabacha.cgo.
Field
hashCode()
- Method in class de.tabacha.cgo.
Put
I
I18n
- class de.tabacha.cgo.gui.
I18n
.
Helper class to retrieve localized information for GUI.
I18n()
- Constructor for class de.tabacha.cgo.gui.
I18n
InvalidMoveException
- exception de.tabacha.cgo.
InvalidMoveException
.
Indicates that a move returned by a routine is invalid.
InvalidMoveException(String, Move)
- Constructor for class de.tabacha.cgo.
InvalidMoveException
Constructor.
init()
- Method in class de.tabacha.cgo.gui.
ConwayGoApplet
Initializes the applet.
initGame(long)
- Method in class de.tabacha.cgo.
AbstractEngine
Initializes the random number generator.
initGame(long)
- Method in interface de.tabacha.cgo.
Engine
Starts a new game.
initNewMoveSearch()
- Method in class de.tabacha.cgo.strategy.
Evaluator
initNewMoveSearch()
- Method in class de.tabacha.cgo.strategy.
FiveTypes
initNewMoveSearch()
- Method in class de.tabacha.cgo.strategy.
ModernMikeGo
initNewMoveSearch()
- Method in class de.tabacha.cgo.strategy.
NoRecursionTemplate
initNewMoveSearch()
- Method in class de.tabacha.cgo.strategy.
SimpleEngine
isAlive()
- Method in interface de.tabacha.cgo.
BackgroundGame
Returns whether the game is stopped or running.
isAlive()
- Method in class de.tabacha.cgo.
DefaultGame
Returns true if a game is running.
isEditing()
- Method in class de.tabacha.cgo.gui.
BoardComponent
Returns true if this component is in editor mode.
isEmpty()
- Method in class de.tabacha.cgo.
Jump
Returns true if this move contains zero jumps.
isInGoal()
- Method in class de.tabacha.cgo.
Field
Returns true if this field is in one of the goals.
isInGoalOf(boolean)
- Method in class de.tabacha.cgo.
Field
Returns true if this field is in the goal of the specified player.
isOutside()
- Method in class de.tabacha.cgo.
Field
Returns true if this field is not on the board.
isOutside(int, int)
- Static method in class de.tabacha.cgo.
Field
Returns true if the field with the specified row and column is not on the board.
J
JUMP_CARET
- Static variable in class de.tabacha.cgo.gui.
BoardComponent
Jump
- class de.tabacha.cgo.
Jump
.
A move where the ball jumps.
Jump()
- Constructor for class de.tabacha.cgo.
Jump
Empty Constructor.
Jump(byte[])
- Constructor for class de.tabacha.cgo.
Jump
Constructor.
jump(Jump)
- Method in class de.tabacha.cgo.
DefaultBoard
Moves the ball around the field.
jumpFound(Jump, int, int)
- Method in class de.tabacha.cgo.strategy.
FiveTypes
jumpFound(Jump, int, int)
- Method in class de.tabacha.cgo.strategy.
ModernMikeGo
jumpFound(Jump, int, int)
- Method in class de.tabacha.cgo.strategy.
NoRecursionTemplate
jumpFound(Jump, int, int)
- Method in class de.tabacha.cgo.strategy.
SimpleEngine
jumpOnce(byte, Move)
- Method in class de.tabacha.cgo.
DefaultBoard
Makes the ball jump once.
K
KICK_OFF_FIELD
- Static variable in interface de.tabacha.cgo.
Constants
L
LAST_DIRECTION
- Static variable in interface de.tabacha.cgo.
Constants
LocalizedResourcePanel
- class de.tabacha.cgo.gui.
LocalizedResourcePanel
.
A panel that shows a localized help text.
LocalizedResourcePanel(String, String)
- Constructor for class de.tabacha.cgo.gui.
LocalizedResourcePanel
Constructor.
LocalizedResourcePanel(String, String, Locale)
- Constructor for class de.tabacha.cgo.gui.
LocalizedResourcePanel
Constructor.
M
MapPanel
- class de.tabacha.cgo.gui.
MapPanel
.
A graphical element that shows a Map.
MapPanel(Object[][])
- Constructor for class de.tabacha.cgo.gui.
MapPanel
Constructor.
MapPanel(Map)
- Constructor for class de.tabacha.cgo.gui.
MapPanel
Constructor.
MikeGo
- class de.tabacha.cgo.strategy.
MikeGo
.
My old strategy, converted from pascal.
MikeGo()
- Constructor for class de.tabacha.cgo.strategy.
MikeGo
ModernMikeGo
- class de.tabacha.cgo.strategy.
ModernMikeGo
.
Does roughly the same as MikeGo, but uses the NoRecursionTemplate class.
ModernMikeGo()
- Constructor for class de.tabacha.cgo.strategy.
ModernMikeGo
Constructor.
ModernMikeGo(int, int, int, int)
- Constructor for class de.tabacha.cgo.strategy.
ModernMikeGo
Move
- class de.tabacha.cgo.
Move
.
One move a player makes in the game.
Move()
- Constructor for class de.tabacha.cgo.
Move
main(String[])
- Static method in class de.tabacha.cgo.gui.
ConwayGo
Main method.
main(String[])
- Static method in class de.tabacha.cgo.tournament.
Tournament
Main method.
minMaxFound(int, int)
- Method in class de.tabacha.cgo.strategy.
NoRecursionTemplate
mouseClicked(MouseEvent)
- Method in class de.tabacha.cgo.gui.
HumanPlayer
mouseDragged(MouseEvent)
- Method in class de.tabacha.cgo.gui.
HumanPlayer
mouseEntered(MouseEvent)
- Method in class de.tabacha.cgo.gui.
HumanPlayer
mouseExited(MouseEvent)
- Method in class de.tabacha.cgo.gui.
HumanPlayer
mouseMoved(MouseEvent)
- Method in class de.tabacha.cgo.gui.
HumanPlayer
mousePressed(MouseEvent)
- Method in class de.tabacha.cgo.gui.
HumanPlayer
mouseReleased(MouseEvent)
- Method in class de.tabacha.cgo.gui.
HumanPlayer
move(Move)
- Method in interface de.tabacha.cgo.
Board
Makes a move.
move(Move)
- Method in class de.tabacha.cgo.
DefaultBoard
moveIn(byte)
- Method in class de.tabacha.cgo.
Field
Changes the location of this field.
N
N
- Static variable in interface de.tabacha.cgo.
Constants
NE
- Static variable in interface de.tabacha.cgo.
Constants
NO_CARET
- Static variable in class de.tabacha.cgo.gui.
BoardComponent
NW
- Static variable in interface de.tabacha.cgo.
Constants
NoRecursionTemplate
- class de.tabacha.cgo.strategy.
NoRecursionTemplate
.
Template to simplify the writing of simple engines that only test the first move.
NoRecursionTemplate()
- Constructor for class de.tabacha.cgo.strategy.
NoRecursionTemplate
Constructor.
nextLeap()
- Method in class de.tabacha.cgo.
Jump
nextTurn()
- Method in class de.tabacha.cgo.
DefaultBoard
Switchs the player who has to move.
O
OPPOSITE
- Static variable in interface de.tabacha.cgo.
Constants
on(int, int)
- Method in interface de.tabacha.cgo.
Board
Returns the content of the field on the specified row and column.
on(Field)
- Method in interface de.tabacha.cgo.
Board
Returns the content of the specified field on the board.
on(int, int)
- Method in class de.tabacha.cgo.
DefaultBoard
on(Field)
- Method in class de.tabacha.cgo.
DefaultBoard
P
PIECE
- Static variable in interface de.tabacha.cgo.
Constants
For the outside world, this is named 'player'.
PUT_CARET
- Static variable in class de.tabacha.cgo.gui.
BoardComponent
Put
- class de.tabacha.cgo.
Put
.
A move where a piece is put on the board.
Put(Field)
- Constructor for class de.tabacha.cgo.
Put
Constructor.
Put(int, int)
- Constructor for class de.tabacha.cgo.
Put
Constructor.
paintComponent(Graphics)
- Method in class de.tabacha.cgo.gui.
BoardComponent
Actually paints the board on the screen.
performJump(Jump)
- Method in class de.tabacha.cgo.gui.
BoardComponent
Performs a jump.
performLeap(Field, byte)
- Method in class de.tabacha.cgo.gui.
BoardComponent
Performs a leap.
performMove(Move)
- Method in class de.tabacha.cgo.gui.
BoardComponent
Shows a move on the screen.
performPut(Field)
- Method in class de.tabacha.cgo.gui.
BoardComponent
Performs a put.
play()
- Method in interface de.tabacha.cgo.
BackgroundGame
Starts playing the game.
play()
- Method in class de.tabacha.cgo.
DefaultGame
Starts the game.
play()
- Method in interface de.tabacha.cgo.
Game
Starts playing the game.
play()
- Method in class de.tabacha.cgo.tournament.
TournamentGame
playerChanged(GameEvent)
- Method in interface de.tabacha.cgo.
GameListener
Signals that one of the players has changed.
playerChanged(GameEvent)
- Method in class de.tabacha.cgo.gui.
CgoRootPane
point2Field(Point)
- Method in class de.tabacha.cgo.gui.
BoardComponent
Converts a point in the component's pixel coordinates to a field on the board.
pop()
- Method in class de.tabacha.cgo.
Jump
Removes and returns the last jump from this move.
push(byte)
- Method in class de.tabacha.cgo.
Jump
Adds a jump to the end of this move.
put(Put)
- Method in class de.tabacha.cgo.
DefaultBoard
Puts a piece on the board.
putFound(Put)
- Method in class de.tabacha.cgo.strategy.
FiveTypes
putFound(Put)
- Method in class de.tabacha.cgo.strategy.
ModernMikeGo
putFound(Put)
- Method in class de.tabacha.cgo.strategy.
NoRecursionTemplate
putFound(Put)
- Method in class de.tabacha.cgo.strategy.
SimpleEngine
Q
quit()
- Method in class de.tabacha.cgo.gui.
CgoRootPane
Closes conwaygo by disposing/destroying the parent.
R
ROW_COUNT
- Static variable in interface de.tabacha.cgo.
Constants
random()
- Method in class de.tabacha.cgo.
AbstractEngine
Subclasses should use this object for random decisions.
removeGameListener(GameListener)
- Method in class de.tabacha.cgo.
DefaultGame
removeGameListener(GameListener)
- Method in interface de.tabacha.cgo.
Game
Removes a GameListener.
removeGameListener(GameListener)
- Method in class de.tabacha.cgo.tournament.
TournamentGame
removePiece(Field)
- Method in interface de.tabacha.cgo.
Board
Removes a piece (aka player) from the board.
removePiece(int, int)
- Method in interface de.tabacha.cgo.
Board
Removes a piece (aka player) from the board.
removePiece(Field)
- Method in class de.tabacha.cgo.
DefaultBoard
removePiece(int, int)
- Method in class de.tabacha.cgo.
DefaultBoard
renewStatusText()
- Method in class de.tabacha.cgo.gui.
CgoRootPane
Writes appropriate text in the status line at the bottom.
reset()
- Method in interface de.tabacha.cgo.
Board
Initializes the field, setting it to the start position.
reset()
- Method in class de.tabacha.cgo.
DefaultBoard
Sets the board to the start position.
reshape(int, int, int, int)
- Method in class de.tabacha.cgo.gui.
BoardComponent
Changes size and/or location of the component.
row()
- Method in class de.tabacha.cgo.
Field
S
S
- Static variable in interface de.tabacha.cgo.
Constants
SE
- Static variable in interface de.tabacha.cgo.
Constants
SW
- Static variable in interface de.tabacha.cgo.
Constants
SimpleEngine
- class de.tabacha.cgo.strategy.
SimpleEngine
.
Sample implementation of NoRecursionTemplate.
SimpleEngine()
- Constructor for class de.tabacha.cgo.strategy.
SimpleEngine
Constructor.
setBall(Field)
- Method in interface de.tabacha.cgo.
Board
Sets the actual field of the ball.
setBall(int, int)
- Method in interface de.tabacha.cgo.
Board
Sets the actual field of the ball.
setBall(Field)
- Method in class de.tabacha.cgo.
DefaultBoard
setBall(int, int)
- Method in class de.tabacha.cgo.
DefaultBoard
setBoard(Board)
- Method in class de.tabacha.cgo.gui.
BoardComponent
Sets a new board.
setCaret(Field, byte)
- Method in class de.tabacha.cgo.gui.
BoardComponent
Shows, changes or removes the caret.
setCol(int)
- Method in class de.tabacha.cgo.
Field
setDebug(boolean)
- Method in class de.tabacha.cgo.strategy.
FiveTypes
setEditor(BoardComponent)
- Method in class de.tabacha.cgo.gui.
HumanPlayer
Sets the GUI object where moves are entered.
setPlayer(boolean, Engine)
- Method in class de.tabacha.cgo.
DefaultGame
Sets the routine that makes the moves in the specified direction.
setPlayer(boolean, Engine)
- Method in interface de.tabacha.cgo.
Game
Sets the routine that makes the moves in the specified direction.
setPlayer(boolean, Engine)
- Method in class de.tabacha.cgo.tournament.
TournamentGame
Sets the routine that makes the moves in the specified direction.
setRow(int)
- Method in class de.tabacha.cgo.
Field
setStatusText(String)
- Method in class de.tabacha.cgo.gui.
CgoRootPane
Sets the text to show in the status line.
setWaitMove(int)
- Static method in class de.tabacha.cgo.gui.
BoardComponent
Sets the time to wait between two moves, in sec/1000.
showAbout()
- Method in class de.tabacha.cgo.gui.
CgoRootPane
Shows a small dialog window with version information.
showEngineInfo(Engine)
- Method in class de.tabacha.cgo.gui.
CgoRootPane
Displays an window with information about an engine.
showFrame(String, String, String)
- Static method in class de.tabacha.cgo.gui.
LocalizedResourcePanel
Shows a frame with the localized document.
showGUIOptions()
- Method in class de.tabacha.cgo.gui.
CgoRootPane
Shows the dialog to configure the GUI.
showHelp(String, String)
- Method in class de.tabacha.cgo.gui.
CgoRootPane
Displays a help resource in a separate frame.
size()
- Method in class de.tabacha.cgo.
Jump
Returns the number of leaps of this jump.
start()
- Method in class de.tabacha.cgo.gui.
ConwayGoApplet
Starts the applet.
startEdit(HumanPlayer)
- Method in class de.tabacha.cgo.gui.
BoardComponent
startGame()
- Method in class de.tabacha.cgo.gui.
CgoRootPane
Starts game play.
startIteration()
- Method in class de.tabacha.cgo.
Jump
stop()
- Method in class de.tabacha.cgo.gui.
ConwayGoApplet
Stops the applet.
T
Tournament
- class de.tabacha.cgo.tournament.
Tournament
.
For playing tournaments between different engines.
Tournament()
- Constructor for class de.tabacha.cgo.tournament.
Tournament
Constructor.
TournamentGame
- class de.tabacha.cgo.tournament.
TournamentGame
.
Represents one game of conwaygo: two players and a board.
TournamentGame(Engine, Engine)
- Constructor for class de.tabacha.cgo.tournament.
TournamentGame
Constructor.
think(Board)
- Method in interface de.tabacha.cgo.
Engine
Routine thinks here.
think(Board)
- Method in class de.tabacha.cgo.gui.
HumanPlayer
Registers this object to the editor as a mouse listener and waits until the move is completed.
think(Board)
- Method in class de.tabacha.cgo.strategy.
Dude
Returns the best move.
think(Board)
- Method in class de.tabacha.cgo.strategy.
MikeGo
Thinking here.
think(Board)
- Method in class de.tabacha.cgo.strategy.
NoRecursionTemplate
Thinking here.
toArray()
- Method in interface de.tabacha.cgo.
Board
Returns this object as a two-dimensional array containing the contents of the fields.
toArray()
- Method in class de.tabacha.cgo.
DefaultBoard
toString()
- Method in class de.tabacha.cgo.
DefaultBoard
Returns a string representation of the board, for debugging.
toString()
- Method in class de.tabacha.cgo.
Field
toString()
- Method in class de.tabacha.cgo.
Jump
toString()
- Method in class de.tabacha.cgo.
Move
toString()
- Method in class de.tabacha.cgo.
Put
toString()
- Method in class de.tabacha.cgo.strategy.
Evaluator
toString()
- Method in class de.tabacha.cgo.strategy.
FiveTypes
toString()
- Method in class de.tabacha.cgo.strategy.
ModernMikeGo
toString()
- Method in class de.tabacha.cgo.strategy.
SimpleEngine
trimToSize()
- Method in class de.tabacha.cgo.
Jump
Minimize memory usage.
U
UP
- Static variable in interface de.tabacha.cgo.
Constants
UPSIDEDOWN
- Static variable in interface de.tabacha.cgo.
Constants
upsideDown()
- Method in interface de.tabacha.cgo.
Board
Returns a copy of this board mirrored along the x-axis.
upsideDown()
- Method in class de.tabacha.cgo.
DefaultBoard
upsideDown()
- Method in class de.tabacha.cgo.
Field
Returns the equivalent field on the other half of the board, mirrored along the central row.
upsideDown()
- Method in class de.tabacha.cgo.
Jump
upsideDown()
- Method in class de.tabacha.cgo.
Move
The move returned is exactly this move mirrored along the central row.
upsideDown()
- Method in class de.tabacha.cgo.
Put
usedTime(boolean)
- Method in class de.tabacha.cgo.tournament.
TournamentGame
V
ValueCalculator
- interface de.tabacha.cgo.strategy.
ValueCalculator
.
W
W
- Static variable in interface de.tabacha.cgo.
Constants
waitAtomic()
- Method in class de.tabacha.cgo.gui.
BoardComponent
Wait for user to realize atomic change.
waitMove()
- Method in class de.tabacha.cgo.gui.
BoardComponent
Wait for user to realize completion of move.
whoseTurn()
- Method in interface de.tabacha.cgo.
Board
Returns the player who has to move.
whoseTurn()
- Method in class de.tabacha.cgo.
DefaultBoard
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes