We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cbfe0c commit 1f1d3e2Copy full SHA for 1f1d3e2
plugin2025/src/main/kotlin/sc/plugin2025/GameState.kt
@@ -302,4 +302,7 @@ data class GameState @JvmOverloads constructor(
302
override fun longString(): String =
303
toString()
304
305
+ fun succeedsState(other: GameState) =
306
+ other.turn + 1 == turn || other.turn + 2 == turn
307
+
308
}
0 commit comments