From 77d93ee3a14408eb2a0408eeb4f41df6b43f5178 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 27 Mar 2022 18:33:03 +0200 Subject: Disable resigning. --- play.html | 2 ++ rules.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/play.html b/play.html index 16ef5e8..4116470 100644 --- a/play.html +++ b/play.html @@ -37,8 +37,10 @@ +
diff --git a/rules.js b/rules.js index 1297bdf..7266f3a 100644 --- a/rules.js +++ b/rules.js @@ -2939,6 +2939,8 @@ exports.action = function (state, current, action, arg) { } exports.resign = function (state, current) { + return state; + // DISABLE resigning game = state; if (game.state !== 'game_over') { if (current === US) -- cgit v1.2.3