diff options
-rw-r--r-- | play.html | 2 | ||||
-rw-r--r-- | rules.js | 17 |
2 files changed, 0 insertions, 19 deletions
@@ -30,8 +30,6 @@ <li class="debug" onclick="send_restore()">🐞 Restore <li class="debug" onclick="send_restart()">⚠ Restart <li class="debug separator"> - <li class="resign separator"> - <li class="resign" onclick="confirm_resign()">Resign </menu> </details> <button onclick="toggle_pieces()"><img src="/images/earth-africa-europe.svg"></button> @@ -10069,19 +10069,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() { @@ -10364,10 +10351,6 @@ exports.action = function (state, current, action, arg) { return game } -exports.is_checkpoint = function (a, b) { - return a.turn !== b.turn -} - // === COMMON TEMPLATE === // Packed array of small numbers in one word |