PlayCmd

object PlayCmd : CommandImpl<Game>

Command to execute a move at the specified board coordinates.

Accepts coordinates in multiple formats:

  • Separate arguments: play 3 4

  • Combined with letter column: play 3A or play 3a

  • Combined digits: play 34 (row=3, col=4)

Coordinates are 1-based (row 1-8, column 1-8 for standard 8x8 board).

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 a move at the parsed coordinates.

Link copied to clipboard

Parses coordinate arguments in various formats.