summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-11 14:39:55 +0100
committerTor Andersson <tor@ccxvii.net>2023-12-11 20:26:07 +0100
commitf3aa1d4862a6f85a201ce51c24c2e4f1b1dbdbdc (patch)
tree4e3cb4ce519d9fe448df46d708e1e1a251098cdc /play.html
parent6da83fe13cc580770a4a556bac9d53447da404b5 (diff)
downloadvotes-for-women-f3aa1d4862a6f85a201ce51c24c2e4f1b1dbdbdc.tar.gz
Add temporary "drawn" and "deck" panel displays.
Use this to show drawn cards while choosing cards for events that draw X cards, play one, and put the rest on top / bottom. Use stack of "draw" arrays in VM to handle nested events. NOTE: This is not necessary now, but will be if we change the Winning Moves event to play its event immediately.
Diffstat (limited to 'play.html')
-rw-r--r--play.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/play.html b/play.html
index 2a50af9..1e5d0f2 100644
--- a/play.html
+++ b/play.html
@@ -609,6 +609,18 @@ c5 3 13 7 17 8 8 2 9 3 11 12 1 5 5 12 8 16 5 8 5 8 3 22 l-3 14 -30 -1 c-35
</div>
</div>
+ <div id="drawn_panel" class="panel hide">
+ <div id="drawn_header" class="panel_header">Drawn Cards</div>
+ <div id="drawn" class="panel_body"></div>
+ </div>
+ </div>
+
+ <div id="deck_panel" class="panel hide">
+ <div id="deck_header" class="panel_header">Top &#x25c0; Draw Deck &#x25b6; Bottom</div>
+ <div id="deck" class="panel_body"></div>
+ </div>
+ </div>
+
<div id="set_aside_panel" class="panel hide">
<div id="set_aside_header" class="panel_header">Set-aside Cards</div>
<div id="set_aside" class="panel_body"></div>