pub fn time_settings() -> Command
Expand description

Configure the time mode.

When given the arguments (main_time, byo_yomi_time, stones) set the time mode to be Canadian byo yomi with the obvious parameters where time is measured in seconds. When byo_yomi_time > 0 and stones == 0, this is defined to mean no time limits.

Effects

The time settings are changed.

Fails

  • Syntax error

Comments

The interpretation of the parameters is discussed in section 4.2. The engine must accept the requested values. This command gives no provision for negotiation of the time settings.