summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html8
-rw-r--r--play.js3
-rw-r--r--rules.js3
3 files changed, 7 insertions, 7 deletions
diff --git a/play.html b/play.html
index 6d674a3..89c0e38 100644
--- a/play.html
+++ b/play.html
@@ -28,7 +28,7 @@
<!-- <li data-action="card_opp_event"><span>&#x1f3b4;</span> Resolve Opponent Event -->
<li data-action="card_influence"><span>&#x1F4E3;</span> Place SPs
<li data-action="card_support_check"><span>&#x1F4AA;</span> Support Check
- <li data-action="card_tst"><span>&#x1F9BB;</span> Tiananmen Square Track
+ <li data-action="card_tst"><span>&#x1F6E2;</span> Tiananmen Square Track
</menu>
<menu id="popup_opp_event" class="popup">
@@ -38,7 +38,7 @@
<li data-action="card_opp_event"><span>&#x1f3b4;</span> Resolve Opponent Event
<li data-action="card_influence"><span>&#x1F4E3;</span> Place SPs
<li data-action="card_support_check"><span>&#x1F4AA;</span> Support Check
- <li data-action="card_tst"><span>&#x1F9BB;</span> Tiananmen Square Track
+ <li data-action="card_tst"><span>&#x1F6E2;</span> Tiananmen Square Track
</menu>
<menu id="popup_ceh_check" class="popup">
@@ -48,7 +48,7 @@
<li data-action="card_opp_event"><span>&#x1f3b4;</span> Resolve Opponent Event
<li data-action="card_influence"><span>&#x1F4E3;</span> Place SPs
<li data-action="card_support_check"><span>&#x1F4AA;</span> Support Check
- <li data-action="card_tst"><span>&#x1F9BB;</span> Tiananmen Square Track
+ <li data-action="card_tst"><span>&#x1F6E2;</span> Tiananmen Square Track
</menu>
<menu id="popup_select_card" class="popup">
@@ -213,7 +213,7 @@
<section id = "sec_samizdat">
<div id="samizdat_panel" class="panel">
<div id="samizdat_header" class="panel_header">Set aside card</div>
- <div id="samizdat" class="panel_body"></div>
+ <div id="samizdat_card" class="panel_body"></div>
</div>
</section>
diff --git a/play.js b/play.js
index fcbf6e7..791026e 100644
--- a/play.js
+++ b/play.js
@@ -624,8 +624,9 @@ if (view.ceausescu_cards && view.ceausescu_cards.length > 0 && view.is_pwr_strug
// SAMIZDAT CARD
if (view.samizdat > 0 ) {
+ let samizdat_card = ui.cards[view.samizdat]
document.getElementById("samizdat_panel").classList.remove("hide")
- document.getElementById("samizdat_hand").appendChild(view.samizdat)
+ document.getElementById("samizdat_card").appendChild(samizdat_card)
} else {
document.getElementById("samizdat_panel").classList.add("hide")
}
diff --git a/rules.js b/rules.js
index a073d27..99450a1 100644
--- a/rules.js
+++ b/rules.js
@@ -275,7 +275,7 @@ function gen_action(action, argument) {
}
view.actions[action].push(argument)
}
- //console.log('view.actions: ', view.actions, 'view.actions[action]: ', view.actions[action])
+ console.log('view.actions: ', view.actions, 'view.actions[action]: ', view.actions[action])
}
function gen_action_infl(space){
@@ -433,7 +433,6 @@ states.choose_card = {
if (scoring_cards.includes(card)) {
/*view.prompt = 'Play for:'*/
gen_action('card_event', card)
- return
}