diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-03-27 18:33:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:12:42 +0100 |
commit | 77d93ee3a14408eb2a0408eeb4f41df6b43f5178 (patch) | |
tree | cf0a7566e39a4561a9096d58321adc10ab4d0629 | |
parent | 9af26e7a6616dab0fd09b4ac33bd663dbed67594 (diff) | |
download | shores-of-tripoli-77d93ee3a14408eb2a0408eeb4f41df6b43f5178.tar.gz |
Disable resigning.
-rw-r--r-- | play.html | 2 | ||||
-rw-r--r-- | rules.js | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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> @@ -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) |