kmp-toolkit
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kmp-toolkit
bots-policy
/
com.siddharth.kmp.botspolicy
/
GameRules
/
apply
apply
abstract
fun
apply
(
state
:
State
,
move
:
Move
)
:
Outcome
<
State
>
Validate
move
against
state
and produce the next state, or reject it.