summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index 308d34e..8f699b4 100644
--- a/rules.js
+++ b/rules.js
@@ -78,7 +78,6 @@ function gen_spend_hero_points() {
}
}
function action(state, player, action, arg) {
- console.log('action', player, action, arg);
if (action !== 'undo') {
state.undo = push_undo();
}
@@ -886,11 +885,9 @@ states.choose_final_bid = {
const faction = get_active_faction();
game.selected_cards[faction].push(c);
const number_selected = game.selected_cards[faction].length;
- console.log('number selected', number_selected);
const number_hand = game.hands[faction].length;
if (number_selected === 3 ||
(number_hand < 4 && number_selected === number_hand - 1)) {
- console.log('proceed');
resolve_active_and_proceed();
}
else {
@@ -1473,7 +1470,6 @@ states.swap_card_tableau_hand = {
resolve_spend_hp();
},
card(c) {
- console.log('card', c);
const faction = get_active_faction();
const selected_cards = game.selected_cards[faction];
selected_cards.push(c);
@@ -1778,7 +1774,6 @@ function end_of_year() {
log('The war is won!');
}
else {
- console.log('The war is lost');
game_over('None', 'The war is lost. All Players lose the game!');
resolve_active_and_proceed();
return;