# Uses of Class
edu.uky.ai.tic.state.Player

Packages that use Player
Package | Description
--- | ---
edu.uky.ai.tic | This package provides the game of Tic Tac Toe and the tools for building AI players.
edu.uky.ai.tic.state | This package contains the model of the state of a game of Tic Tac Toe along with a representation of all the next available moves and how they change the game's state.

- ## Uses of Player in edu.uky.ai.tic

  Fields in edu.uky.ai.tic declared as Player
  Modifier and Type | Field | Description
  --- | --- | ---
  `Player` | Game.`winner` | The winning player

- ## Uses of Player in edu.uky.ai.tic.state

  Fields in edu.uky.ai.tic.state declared as Player
  Modifier and Type | Field | Description
  --- | --- | ---
  `Player` | Move.`player` | The player making the move

  Methods in edu.uky.ai.tic.state that return Player
  Modifier and Type | Method | Description
  --- | --- | ---
  `Player` | State.`getCurrentPlayer()` | Returns the player whose turn it is to move next.
  `Player` | State.`getSquare​(int row, int column)` | Returns the mark at the given row and column of the grid.
  `Player` | State.`getWinner()` | Returns the winner, if one has been determined.
  `static Player` | Player.`valueOf​(java.lang.String name)` | Returns the enum constant of this type with the specified name.
  `static Player[]` | Player.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

  Constructors in edu.uky.ai.tic.state with parameters of type Player
  Constructor | Description
  --- | ---
  `Move​(Player player, int row, int column)` | Constructs a move object.