diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-24 12:58:20 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-24 12:58:20 +0100 |
commit | 19a61f1d90f38865673df0aa97d5a08fb59ff413 (patch) | |
tree | 68544c912399e2e1f7ca6a9194139ee55e6e4b0c /rules.js | |
parent | 511aa54f070d33f7b356d506ab498c83554cbc4d (diff) | |
download | richard-iii-master.tar.gz |
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3517,6 +3517,12 @@ function observer_hand() { return hand } +exports.dont_snap = function(state) { + if (state.state === "play_card" && state.active !== BOTH) + return true + return false +} + exports.view = function(state, current) { game = state |