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

Packages that use State
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.ai | This package contains the tools needed to build an AI for playing Tic Tac Toe that uses adversarial game tree search techniques.
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 State in edu.uky.ai.tic

  Fields in edu.uky.ai.tic declared as State
  Modifier and Type | Field | Description
  --- | --- | ---
  `State` | Game.`state` | The final state of the game after it is over

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

  Fields in edu.uky.ai.tic.ai declared as State
  Modifier and Type | Field | Description
  --- | --- | ---
  `State` | GameTree.`state` | The current state of the game

  Methods in edu.uky.ai.tic.ai with parameters of type State
  Modifier and Type | Method | Description
  --- | --- | ---
  `Decision` | AlphaBetaBot.`chooseMove​(State state)` |
  `Decision` | Bot.`chooseMove​(State state)` |
  `Decision` | MinMaxBot.`chooseMove​(State state)` |
  `Decision` | RandomBot.`chooseMove​(State state)` |
  `static double` | Utility.`evaluate​(State state)` | Returns the desirability of the current state for player X.

  Constructors in edu.uky.ai.tic.ai with parameters of type State
  Constructor | Description
  --- | ---
  `GameTree​(Move move, State state, GameTree parent)` | Constructs a new game tree with a current state that resulted from taking a given move.
  `GameTree​(State initial)` | Constructs a new game tree with some initial state as the root.

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

  Methods in edu.uky.ai.tic.state that return State
  Modifier and Type | Method | Description
  --- | --- | ---
  `State` | State.`transition​(Move move)` | Returns the state that would result from taking the given move.