Package edu.uky.ai.tic

# Class Game

java.lang.Object
edu.uky.ai.tic.Game

    public class Game
    extends java.lang.Object

Plays a game of Tic Tac Toe and measures how many moves each player considers during the game.

Author:
  Stephen G. Ware

- ## Field Summary

  Fields
  Modifier and Type | Field | Description
  --- | --- | ---
  `Bot` | `o` | The O player
  `double` | `oWork` | The number of moves considered by player O during the game
  `State` | `state` | The final state of the game after it is over
  `Player` | `winner` | The winning player
  `Bot` | `x` | THe X player
  `double` | `xWork` | The number of moves considered by player X during the game

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `Game​(Bot x, Bot o)` | Constructs and plays a game of Tic Tac Toe.

- ## Method Summary

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

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

- ## Field Details

  - ### x

    public final Bot x
    THe X player

  - ### o

    public final Bot o
    The O player

  - ### state

    public final State state
    The final state of the game after it is over

  - ### winner

    public final Player winner
    The winning player

  - ### xWork

    public final double xWork
    The number of moves considered by player X during the game

  - ### oWork

    public final double oWork
    The number of moves considered by player O during the game

- ## Constructor Details

  - ### Game

    public Game​(Bot x, Bot o)
    Constructs and plays a game of Tic Tac Toe.
    Parameters:
      `x` - the X player
      `o` - the O player