diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-24 12:57:43 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-24 12:57:43 +0100 |
commit | 01ce3cbc529154521789107551f3cbf2301b25ea (patch) | |
tree | 4d3030f1888c08b7dfab3884b4ee0ea3d8e52168 /rules.js | |
parent | d7904f7d9f2b0f9bd59d58cf5bc9cee465f14a14 (diff) | |
download | crusader-rex-01ce3cbc529154521789107551f3cbf2301b25ea.tar.gz |
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3927,7 +3927,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 |