diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -3510,19 +3510,6 @@ exports.action = function (state, current, action, arg) { return game } -exports.resign = function (state, current) { - game = state - if (game.state !== 'game_over') { - logbr() - log(current + " resigned.") - game.active = "None" - game.state = 'game_over' - game.victory = current + " resigned." - game.result = ENEMY[current] - } - return game -} - function observer_hand() { let hand = [] hand.length = Math.max(game.l_hand.length, game.y_hand.length) |