summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/rules.js b/rules.js
index a3946a8..bfd8226 100644
--- a/rules.js
+++ b/rules.js
@@ -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;