Package cpsc2150.extendedConnectX.models

# Class AbsGameBoard

java.lang.Object
cpsc2150.extendedConnectX.models.AbsGameBoard

All Implemented Interfaces:
  `IGameBoard`

Direct Known Subclasses:
  `GameBoard`, `GameBoardMem`

public abstract class AbsGameBoard extends Object implements IGameBoard
Class that implements the IGameBoard interface and contains an overridden implementation of `Object.toString()`.

- ## Field Summary

  ### Fields inherited from interface cpsc2150.extendedConnectX.models.IGameBoard

  `MAX_COLUMNS, MAX_NUM_TO_WIN, MAX_ROWS, MIN_COLUMNS, MIN_NUM_TO_WIN, MIN_ROWS`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbsGameBoard()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `toString()`
  Overloaded toString method for GameBoard.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface cpsc2150.extendedConnectX.models.IGameBoard

  `checkDiagWin, checkForWin, checkHorizWin, checkIfFree, checkTie, checkVertWin, getNumColumns, getNumRows, getNumToWin, isPlayerAtPos, placeToken, whatsAtPos`

- ## Constructor Details

  - ### AbsGameBoard

    public AbsGameBoard()

- ## Method Details

  - ### toString

    public String toString()
    Overloaded toString method for GameBoard.

    NOTE: The string will change depending on the values of the object that implements IGameBoard which calls the toString method, and thus the post-condition for this method is partially informal.

    Overrides:
      `toString` in class `Object`
    Returns:
      A string that shows the entire game board
    Post:
      [toString shows the entire game board] AND self = #self