matchOf

fun matchOf(white: Player, black: Player, impactFactor: Double = 32.0, rangeFactor: Double = 400.0, logisticBase: Double = 10.0, id: Any? = null, round: Int? = null): Match

Creates a match between two players with the given elo calculation parameters or with default values.

Return

a match between the two players provided

Parameters

white

the white player

black

the black player

impactFactor

The K-factor that determines how much a single match affects the rating. A higher value leads to faster rating changes. Default is 32.0.

rangeFactor

The scale factor used to determine win probability. Default is 400.0.

logisticBase

The base of the exponent in the logistic function. Standard Elo uses base 10.

id

a nullable id

round

the round number (0-based)