|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--AbstractBoardGame | +--Gomoku
Class to enforce rules of Gomoku.
Fields inherited from class AbstractBoardGame |
_cols,
_gameState,
_player,
_rows,
_squaresLeft,
_turn,
_winner,
_winningScore |
Constructor Summary | |
Gomoku(Player playerX,
Player playerO)
Gomoku is similar to TicTacToe, except it is played on a 19x19 Go board, and the winner must get 5 in a row. |
Methods inherited from class AbstractBoardGame |
assert,
checkWinner,
currentPlayer,
get,
getCol,
getRow,
init,
inRange,
move,
notOver,
set,
setWinner,
squaresLeft,
swapTurn,
test,
toString,
update,
winner |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Gomoku(Player playerX, Player playerO)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |