Package

axle.game

ttt

Permalink

package ttt

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ttt
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class TicTacToe(boardSize: Int = 3, x: Player, xStrategy: (TicTacToe, TicTacToeState) ⇒ Distribution0[TicTacToeMove, Rational], xDisplayer: (String) ⇒ Unit, o: Player, oStrategy: (TicTacToe, TicTacToeState) ⇒ Distribution0[TicTacToeMove, Rational], oDisplayer: (String) ⇒ Unit) extends Product with Serializable

    Permalink

    TicTacToe is a 2-player perfect information zero-sum game

  2. case class TicTacToeMove(position: Int, boardSize: Int) extends Product with Serializable

    Permalink
  3. case class TicTacToeOutcome(winner: Option[Player]) extends Product with Serializable

    Permalink
  4. case class TicTacToeState(playerOptFn: (TicTacToeState) ⇒ Option[Player], board: Array[Option[Player]], boardSize: Int) extends Product with Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped