scmJS docs

Defeat

The player loses and leaves the game.

Action 2 · Defeat();

It takes no arguments.

Defeat();