TTac
Toggle table of contents
release
Target filter
release
Switch theme
Search in API
Skip to content
TTac
TTac
/
io.gh.kdbrian.ttac.data
/
HeatData
Heat
Data
@
Serializable
data
class
HeatData
(
val
games
:
Int
=
0
,
val
winCounts
:
List
<
Int
>
=
emptyList()
,
val
playCounts
:
List
<
Int
>
=
emptyList()
)
Per-board-size tallies used to render the heatmap of where games are won and played.
Members
Constructors
Heat
Data
Link copied to clipboard
constructor
(
games
:
Int
=
0
,
winCounts
:
List
<
Int
>
=
emptyList()
,
playCounts
:
List
<
Int
>
=
emptyList()
)
Properties
games
Link copied to clipboard
val
games
:
Int
play
Counts
Link copied to clipboard
val
playCounts
:
List
<
Int
>
win
Counts
Link copied to clipboard
val
winCounts
:
List
<
Int
>
Functions
normalized
Plays
Link copied to clipboard
fun
normalizedPlays
(
cells
:
Int
)
:
FloatArray
normalized
Wins
Link copied to clipboard
fun
normalizedWins
(
cells
:
Int
)
:
FloatArray