summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index d98f4e1..578273b 100644
--- a/rules.js
+++ b/rules.js
@@ -2867,6 +2867,8 @@ exports.resign = function (state, current) {
return save_game();
}
+exports.is_checkpoint = (a, b) => a.phasing !== b.phasing;
+
exports.view = function(state, current) {
current = player_index[current];
load_game(state);