diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -3452,22 +3452,6 @@ exports.action = function (state, current, action, arg) { return game; } -exports.resign = function (state, current) { - game = state; - if (game.state !== 'game_over') { - log_sep(); - log(current + " resigned."); - game.active = "None"; - game.state = 'game_over'; - game.victory = current + " resigned."; - if (current === PERSIA) - game.result = GREECE; - else - game.result = PERSIA; - } - return game; -} - exports.view = function(state, current) { game = state; |