execute

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

Executes the new game creation command.

Return

A CommandResult with the newly created game or an error message.

Parameters

args

The command arguments: [playerSymbol] [optionalGameName]

context

The current game context (will be saved before creating new game).