PassCmd

object PassCmd : CommandImpl<Game>

Command to pass the current player's turn.

Skips the current player's turn when they have no legal moves available. If both players pass consecutively, the game ends and a winner is determined.

Usage: pass

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 pass command.