custom Game
fun customGame(gameMode: String, threeRepetitionsMode: String, fiftyMovesRuleMode: String, initialFen: String? = null, idSupplier: () -> Any? = { null }): Game
Creates a new Game instance with fully customizable parameters. Allows setting the game mode, rule enforcement, initial FEN, and PGN tags.
This is a facade created to enable exporting the code to JS, though it can also be used directly within the JS modules of any KMP project.