Class TicTacToe

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

public class TicTacToe
extends AbstractBoardGame

Class to enforce rules of TicTacToe.

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

Fields inherited from class AbstractBoardGame
_cols, _gameState, _player, _rows, _squaresLeft, _turn, _winner, _winningScore
 
Constructor Summary
TicTacToe(Player playerX, Player playerO)
           
 
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

TicTacToe

public TicTacToe(Player playerX,
                 Player playerO)