summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/rules.js b/rules.js
index a496862..2ee425c 100644
--- a/rules.js
+++ b/rules.js
@@ -10069,19 +10069,6 @@ states.game_over = {
},
}
-exports.resign = function (state, current) {
- load_state(state)
- if (game.state !== "game_over") {
- for (let opponent of exports.roles) {
- if (opponent !== current) {
- goto_game_over(opponent, current + " resigned.")
- break
- }
- }
- }
- return game
-}
-
// === UNCOMMON TEMPLATE ===
function log_br() {
@@ -10364,10 +10351,6 @@ exports.action = function (state, current, action, arg) {
return game
}
-exports.is_checkpoint = function (a, b) {
- return a.turn !== b.turn
-}
-
// === COMMON TEMPLATE ===
// Packed array of small numbers in one word