Skip to content

Function: resign() ​

ts
function resign(game): Result;

The player to move resigns. Only at the latest move of the main line, in either mode.

Parameters ​

ParameterType
gameGame

Returns ​

Result

Released under the MIT License.