|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
BLACK - a constant indicating a black player/piece
getPiece - given the row and
column, returns the piece (BLACK,
WHITE, or NONE) at that grid position
getPlayer - returns the current player
(BLACK or WHITE)
getSize - returns the grid size
getWinner - returns BLACK,
WHITE, or NONE, if black has won,
white has won, or no player has won, respectively.
GomokuGame - a text-based basic Gomoku game using
GomokuState.GomokuState - a representation of a basic Gomoku game
state.GomokuState instance with an empty
size-by-size grid and black to play
main - A text-based Gomoku game
implementation.
NONE - a constant indicating no player/piece
playPiece - the current player tries to play a
piece at the given position.
toString - returns a String representation of the
board.
WHITE - a constant indicating a white player/piece
|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||