diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -560,17 +560,6 @@ exports.action = function (state, player, action, arg) { return game } -exports.resign = function (state, player) { - game = state - if (game.state !== "game_over") { - if (player === SUF) - goto_game_over(OPP, "Suffragist resigned.") - if (player === OPP) - goto_game_over(SUF, "Opposition resigned.") - } - return game -} - function goto_game_over(result, victory) { game.state = "game_over" game.active = "None" |