summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html2
-rw-r--r--rules.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/play.html b/play.html
index 16ef5e8..4116470 100644
--- a/play.html
+++ b/play.html
@@ -37,8 +37,10 @@
<div class="menu_separator"></div>
<div class="menu_item" onclick="window.open('info/tr_cards.html', '_blank')">Tripolitan Cards</div>
<div class="menu_item" onclick="window.open('info/us_cards.html', '_blank')">United States Cards</div>
+ <!-- DISABLED for tournament
<div class="resign menu_separator"></div>
<div class="resign menu_item" onclick="confirm_resign()">Resign</div>
+ -->
</div>
</div>
<div class="icon_button" onclick="toggle_zoom()"><img src="/images/magnifying-glass.svg"></div>
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)