Index
All Classes and Interfaces|All Packages|Constant Field Values
C
- CROSS - Enum constant in enum class cs251.project2.GomokuInterface.Square
- CROSS_WINS - Enum constant in enum class cs251.project2.GomokuInterface.TurnResult
- cs251.project2 - package cs251.project2
D
- DEFAULT_NUM_COLS - Static variable in interface cs251.project2.GomokuInterface
-
Default number of horizontal squares on the board
- DEFAULT_NUM_ROWS - Static variable in interface cs251.project2.GomokuInterface
-
Default number of vertical squares on the board
- DRAW - Enum constant in enum class cs251.project2.GomokuInterface.TurnResult
E
- EMPTY - Enum constant in enum class cs251.project2.GomokuInterface.Square
G
- GAME_NOT_OVER - Enum constant in enum class cs251.project2.GomokuInterface.TurnResult
- getCurrentBoardAsString() - Method in interface cs251.project2.GomokuInterface
-
Get a string representation of the board.
- getCurrentTurn() - Method in interface cs251.project2.GomokuInterface
-
Get which player's turn it is.
- getNumCols() - Method in interface cs251.project2.GomokuInterface
-
Get the number of columns for the game board.
- getNumInLineForWin() - Method in interface cs251.project2.GomokuInterface
-
Get the number in a line needed for a win.
- getNumRows() - Method in interface cs251.project2.GomokuInterface
-
Get the number of rows for the game board.
- GomokuGUI - Class in cs251.project2
-
This is the graphical user interface for the Gomoku game.
- GomokuInterface - Interface in cs251.project2
-
This is the interface that describes the methods that must be present in the class you are writing that interfaces with the GUI.
- GomokuInterface.Square - Enum Class in cs251.project2
-
Type to represent the status of each square on the board.
- GomokuInterface.TurnResult - Enum Class in cs251.project2
-
Type to report correct outcome status of the game.
H
- handleClickAt(int, int) - Method in interface cs251.project2.GomokuInterface
-
Attempt a move at a given location on the board.
I
- initComputerPlayer(String) - Method in interface cs251.project2.GomokuInterface
-
Configure whether a computer player will be used.
- initializeGame() - Method in interface cs251.project2.GomokuInterface
-
Initialize state for a new game.
R
- RING - Enum constant in enum class cs251.project2.GomokuInterface.Square
- RING_WINS - Enum constant in enum class cs251.project2.GomokuInterface.TurnResult
S
- showGUI(GomokuInterface) - Static method in class cs251.project2.GomokuGUI
-
Construct and display GUI for a Gomoku game
- SQUARES_IN_LINE_FOR_WIN - Static variable in interface cs251.project2.GomokuInterface
-
Default squares in a line required for a win
T
- toChar() - Method in enum class cs251.project2.GomokuInterface.Square
-
Gives the character representation of this Square.
V
- valueOf(String) - Static method in enum class cs251.project2.GomokuInterface.Square
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cs251.project2.GomokuInterface.TurnResult
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cs251.project2.GomokuInterface.Square
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cs251.project2.GomokuInterface.TurnResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values