diff options
-rw-r--r-- | play.html | 2 | ||||
-rw-r--r-- | rules.js | 11 |
2 files changed, 0 insertions, 13 deletions
@@ -46,8 +46,6 @@ <li class="separator"> <li><a href="info/tr_cards.html" target="_blank">Tripolitan Cards</a> <li><a href="info/us_cards.html" target="_blank">United States Cards</a> - <li class="resign separator"> - <li class="resign" onclick="confirm_resign()">Resign </menu> </details> </div> @@ -2968,17 +2968,6 @@ exports.action = function (state, current, action, arg) { return game; } -exports.resign = function (state, current) { - game = state; - if (game.state !== 'game_over') { - if (current === US) - goto_game_over(TR, "United States resigned."); - if (current === TR) - goto_game_over(US, "Tripolitania resigned."); - } - return game; -} - exports.view = function(state, current) { game = state; |