Othello 1.0
A C E G H I L M O P R S T U V

G

GameState - Class in edu.drexel.cs.ai.othello
A class for storing all aspects of the game state of Othello, including the board state and current player.
GameState() - Constructor for class edu.drexel.cs.ai.othello.GameState
Constructs a new GameState with the initial board configuration, a random initial player, and the random number generator seeded to a random value.
GameState(long) - Constructor for class edu.drexel.cs.ai.othello.GameState
Creates a new GameState with the initial board configuration, a random initial player, and the random number generator seeded to the given value.
GameState.GameStatus - Enum in edu.drexel.cs.ai.othello
An enumeration of the possible states of the game.
GameState.Player - Enum in edu.drexel.cs.ai.othello
An enumeration of the possible owners of a square in the game board.
getCol() - Method in class edu.drexel.cs.ai.othello.Square
Returns the column of this square.
getCurrentPlayer() - Method in class edu.drexel.cs.ai.othello.GameState
Returns the player whose turn it is to make a move.
getMillisUntilDeadline() - Method in class edu.drexel.cs.ai.othello.OthelloPlayer
Utility function for returning the number of milliseconds remaining until the deadline.
getMove(GameState, Date) - Method in class edu.drexel.cs.ai.othello.HumanOthelloPlayer
Returns the next move as input by the human from the UI.
getMove() - Method in exception edu.drexel.cs.ai.othello.InvalidMoveException
Returns the offending move.
getMove(GameState, Date) - Method in class edu.drexel.cs.ai.othello.OthelloPlayer
Returns the move chosen by this player given the current game state.
getMove(GameState, Date) - Method in class edu.drexel.cs.ai.othello.RandomOthelloPlayer
Returns a random, valid move from currentState.
getMove(GameState, Date) - Method in class students.example.ExampleOthelloPlayer
Returns the first move that the agent discovers is valid.
getName() - Method in class edu.drexel.cs.ai.othello.OthelloPlayer
Returns the name of this player.
getOpponent(GameState.Player) - Method in class edu.drexel.cs.ai.othello.GameState
Returns the opponent of a player.
getPlayer() - Method in exception edu.drexel.cs.ai.othello.InvalidMoveException
Returns the offending player.
getPlayers() - Method in class edu.drexel.cs.ai.othello.ConsoleUserInterface
Prints all classes that are instanceof OthelloPlayer that have been found in the classpath and then calls System.exit(1).
getPlayers() - Method in class edu.drexel.cs.ai.othello.GraphicalUserInterface
 
getPlayers() - Method in interface edu.drexel.cs.ai.othello.UserInterface
Causes the user interface to prompt the user for the agents and names for the players and constructs/returns new instances of the prescribed players.
getPreviousMove() - Method in class edu.drexel.cs.ai.othello.GameState
Returns the previous move that was used to get to this state (or null if this is the initial state).
getPreviousState() - Method in class edu.drexel.cs.ai.othello.GameState
Returns the previous state (or null if this is the initial state).
getRandom() - Method in class edu.drexel.cs.ai.othello.GameState
Returns the random number generator for this game.
getRow() - Method in class edu.drexel.cs.ai.othello.Square
Returns the row of this square.
getScore(GameState.Player) - Method in class edu.drexel.cs.ai.othello.GameState
Returns the number of spaces currently owned by the given player.
getSquare(int, int) - Method in class edu.drexel.cs.ai.othello.GameState
Returns the player that currently owns the given square.
getSquare(Square) - Method in class edu.drexel.cs.ai.othello.GameState
Returns the player that currently owns the given square.
getStatus() - Method in class edu.drexel.cs.ai.othello.GameState
Returns the current status of the game.
getSuccessors() - Method in class edu.drexel.cs.ai.othello.GameState
Equivalent to getSuccessors(true).
getSuccessors(boolean) - Method in class edu.drexel.cs.ai.othello.GameState
Returns all valid GameStates that may succeed this state.
getValidMoves() - Method in class edu.drexel.cs.ai.othello.GameState
Returns all valid Moves that may be taken from this state.
getValidMoves(GameState.Player) - Method in class edu.drexel.cs.ai.othello.GameState
Returns all valid Moves that may be taken by player from this state.
getWinner() - Method in class edu.drexel.cs.ai.othello.GameState
Returns the winner of the game or null if the game was either a tie or the game has not yet finished.
GraphicalUserInterface - Class in edu.drexel.cs.ai.othello
 
GraphicalUserInterface() - Constructor for class edu.drexel.cs.ai.othello.GraphicalUserInterface
Constructs a new GraphicalUserInterface.

Othello 1.0
A C E G H I L M O P R S T U V
Copyright 2006–2007 Evan A. Sultanik