summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-23 00:44:51 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-30 21:59:25 +0200
commitde679761df9494f19717de8c9c57fc754d7d0dcd (patch)
tree9ca1dc19954ee3c4df02798542e9d18b89dedea8 /play.js
parentc2eaf91e783a45ef21962e63ea1ad66aaf57c201 (diff)
downloadfriedrich-de679761df9494f19717de8c9c57fc754d7d0dcd.tar.gz
pause after discarding TC before merging with hand.
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/play.js b/play.js
index cdb802a..606167a 100644
--- a/play.js
+++ b/play.js
@@ -204,12 +204,12 @@ function make_tc_deck(n) {
for (let suit = 0; suit <= 3; ++suit) {
for (let value = 2; value <= 13; ++value) {
let c = (n << 7) | (suit << 4) | value
- ui.tc[c] = create_piece("card", c, "card tc " + suit_class[suit] + value)
+ ui.tc[c] = create_piece("card", c, "card tc deck_" + (n+1) + " " + suit_class[suit] + value)
}
}
for (let value = 2; value <= 3; ++value) {
let c = (n << 7) | (4 << 4) | value
- ui.tc[c] = create_piece("card", c, "card tc R")
+ ui.tc[c] = create_piece("card", c, "card tc deck_" + (n+1) + " R")
}
}