axle
.
game
ttt
package
ttt
Visibility
Public
All
Type Members
class
AITicTacToePlayer
extends
TicTacToePlayer
class
InteractiveTicTacToePlayer
extends
TicTacToePlayer
class
RandomTicTacToePlayer
extends
TicTacToePlayer
case class
TicTacToe
(
boardSize:
Int
=
3
,
xClass:
String
=
"human"
,
oClass:
String
=
"ai"
)
extends
Game
[
TicTacToe
] with
Product
with
Serializable
TicTacToe is a 2-player perfect information zero-sum game
case class
TicTacToeMove
(
tttPlayer:
TicTacToePlayer
,
position:
Int
)
(
implicit
ttt:
TicTacToe
)
extends
Move
[
TicTacToe
] with
Product
with
Serializable
case class
TicTacToeOutcome
(
winner:
Option
[
TicTacToePlayer
]
)
(
implicit
ttt:
TicTacToe
)
extends
Outcome
[
TicTacToe
] with
Product
with
Serializable
abstract
class
TicTacToePlayer
extends
Player
[
TicTacToe
]
case class
TicTacToeState
(
player:
TicTacToePlayer
,
board: (
TicTacToe._223.type.tttmm
)#
Matrix
[
Option
[
TicTacToePlayer
]] forSome {val _223:
TicTacToe
}
,
_eventQueues:
Map
[
TicTacToePlayer
,
List
[
Event
[
TicTacToe
]]] =
...
)
(
implicit
ttt:
TicTacToe
)
extends
State
[
TicTacToe
] with
Product
with
Serializable
Ungrouped