DebugCmd

object DebugCmd : CommandImpl<Game>

Debug command to display detailed internal game state information.

This development-only command outputs comprehensive diagnostic information including:

  • Current game state initialization status

  • Last player who moved

  • Current board representation

  • Player scores and active turn

  • Game name (if applicable)

  • Target mode status

  • Pass count

  • Configuration information

  • Available saved games in the saves folder

Usage: debug or dbg (available only with --debug flag)

Properties

Link copied to clipboard
open override val info: CommandInfo

Functions

Link copied to clipboard
open override fun execute(vararg args: String, context: Game?): CommandResult<Game>

Executes the debug command and generates comprehensive diagnostic output.

Link copied to clipboard
private fun title(text: String): String

Formats a title for debug output with decorative lines.