summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 319f1a0..5a8c9af 100644
--- a/rules.js
+++ b/rules.js
@@ -3173,7 +3173,11 @@ function observer_hand() {
return hand
}
-exports.is_checkpoint = (a, b) => a.turn !== b.turn
+exports.dont_snap = function(state) {
+ if (state.state === "play_card" && state.active !== BOTH)
+ return true
+ return false
+}
exports.view = function(state, current) {
game = state