B G M N P T W

B

BLACK - Static variable in class GomokuState
BLACK - a constant indicating a black player/piece

G

getPiece(int, int) - Method in class GomokuState
getPiece - given the row and column, returns the piece (BLACK, WHITE, or NONE) at that grid position
getPlayer() - Method in class GomokuState
getPlayer - returns the current player (BLACK or WHITE)
getSize() - Method in class GomokuState
getSize - returns the grid size
getWinner() - Method in class GomokuState
getWinner - returns BLACK, WHITE, or NONE, if black has won, white has won, or no player has won, respectively.
GomokuGame - Class in <Unnamed>
GomokuGame - a text-based basic Gomoku game using GomokuState.
GomokuGame() - Constructor for class GomokuGame
 
GomokuState - Class in <Unnamed>
GomokuState - a representation of a basic Gomoku game state.
GomokuState(int) - Constructor for class GomokuState
Creates GomokuState instance with an empty size-by-size grid and black to play

M

main(String[]) - Static method in class GomokuGame
main - A text-based Gomoku game implementation.

N

NONE - Static variable in class GomokuState
NONE - a constant indicating no player/piece

P

playPiece(int, int) - Method in class GomokuState
playPiece - the current player tries to play a piece at the given position.

T

toString() - Method in class GomokuState
toString - returns a String representation of the board.

W

WHITE - Static variable in class GomokuState
WHITE - a constant indicating a white player/piece

B G M N P T W