From 3d95fe0862e2e9eb622c78bf93506904407435b5 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 24 Dec 2023 00:39:12 +0100 Subject: Automatic resign menu. --- play.html | 2 -- rules.js | 13 ------------- 2 files changed, 15 deletions(-) diff --git a/play.html b/play.html index e6f4c14..c74e0bb 100644 --- a/play.html +++ b/play.html @@ -26,8 +26,6 @@
  • Reference Sheets
  • Arts of War
  • Lord Mats -
  • -
  • Resign diff --git a/rules.js b/rules.js index 5568525..4c9e45e 100644 --- a/rules.js +++ b/rules.js @@ -11026,19 +11026,6 @@ states.game_over = { }, } -exports.resign = function (state, current) { - load_state(state) - if (game.state !== "game_over") { - for (let opponent of exports.roles) { - if (opponent !== current) { - goto_game_over(opponent, current + " resigned.") - break - } - } - } - return game -} - // === UNCOMMON TEMPLATE === function log_br() { -- cgit v1.2.3