summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/rules.js b/rules.js
index 1ebd165..d873d23 100644
--- a/rules.js
+++ b/rules.js
@@ -3894,19 +3894,6 @@ exports.action = function (state, current, action, arg) {
return game
}
-exports.resign = function (state, current) {
- game = state
- if (game.state !== 'game_over') {
- log("")
- log(current + " resigned.")
- game.active = "None"
- game.state = 'game_over'
- game.victory = current + " resigned."
- game.result = enemy(current)
- }
- return game
-}
-
function make_siege_view() {
let list = {}
for (let town = first_town; town <= last_town; ++town)