kmp-toolkit
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kmp-toolkit
common
/
com.siddharth.kmp.common
/
Elo
/
expectedScore
expected
Score
fun
expectedScore
(
rating
:
Int
,
opponent
:
Int
)
:
Double
Expected score for
rating
against
opponent
— the logistic ELO curve, in (0,1).