From 50d95d906d7d782d155e75635be4d637c1ccfb25 Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Mon, 30 Dec 2024 22:44:07 +0100 Subject: fix click fronts and remove console logs --- rules.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'rules.js') 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; -- cgit v1.2.3