MatchResult

data class MatchResult(val mode: GameMode, val board: Board, val win: WinLine?, val x: PlayerRef, val o: PlayerRef, val humanMark: Mark? = null, val difficulty: Difficulty? = null, val timestamp: Long = System.currentTimeMillis())

Everything needed to record one finished round.

Constructors

Link copied to clipboard
constructor(mode: GameMode, board: Board, win: WinLine?, x: PlayerRef, o: PlayerRef, humanMark: Mark? = null, difficulty: Difficulty? = null, timestamp: Long = System.currentTimeMillis())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Solo only: which mark the human played.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val win: WinLine?
Link copied to clipboard