diff options
author | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-22 14:45:51 +0100 |
---|---|---|
committer | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-22 14:45:51 +0100 |
commit | fa18a313b5a57b106a8c41a542f08ba4697435ca (patch) | |
tree | 2146925d47aaf3107c8007bd513f4f99c4682c41 /play.js | |
parent | b80ba3e739ed5dd1fa2796e3683bbe98659d865a (diff) | |
download | land-and-freedom-fa18a313b5a57b106a8c41a542f08ba4697435ca.tar.gz |
Add final bid and determine winner
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -279,7 +279,7 @@ function on_update() { for (let c of view.hand) { ui.cards[c].classList.remove('selected'); ui.hand.appendChild(ui.cards[c]); - if (c === view.selected_card) { + if (c === view.selected_card || view.final_bid.includes(c)) { ui.cards[c].classList.add('selected'); } } |