Class Gomoku

java.lang.Object
  |
  +--AbstractBoardGame
        |
        +--Gomoku

public class Gomoku
extends AbstractBoardGame

Class to enforce rules of Gomoku.

Version:
1.6 1999-02-07
Author:
Oscar.Nierstrasz@acm.org

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

Gomoku

public 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.