From 9971dc265828ac89d465ed9955efd3f86b3fe956 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sun, 27 Oct 2024 15:52:34 +0000 Subject: Tidy up code --- rules.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rules.js b/rules.js index 9d5fc40..c780550 100644 --- a/rules.js +++ b/rules.js @@ -1420,7 +1420,6 @@ states.raise_stakes_1 = { inactive: 'raise the stakes.', prompt () { - console.log('raise stakes 1 - com hand', game.com_pwr_hand, 'dem hand', game.dem_pwr_hand) if ((game.active === DEM && game.dem_pwr_hand < 3) || (game.active === COM && game.com_pwr_hand < 3)) { view.prompt = 'Raise the stakes: you must pass.' gen_action('pass') @@ -1528,7 +1527,6 @@ states.raise_stakes_2 = { states.power_struggle = { inactive: 'play a card.', prompt () { - console.log('game.vm_event', game.vm_event) if (game.phase === 0) { if (game.valid_cards.length > 0) { view.prompt = "Play a card." @@ -2818,7 +2816,6 @@ function valid_cards(player_hand, presence) { } else if (game.phase === 1) { for (let c of player_hand) { let card = power_cards.find(card => card && card.number === c); - console.log('card', card, ) if (card.name === power_cards[game.played_power_card].name) { valid_cards_set.add(card.number); } else if (card.name === game.proxy_power_card) { @@ -7133,7 +7130,6 @@ states.vm_kiss_of_death_finish = { prompt() { if (game.vm_event > 0 && game.vm_event !== C_COMMON_EUROPEAN_HOME && (cards[game.vm_event].side === 'D' || cards[game.vm_event].side === 'N')) { view.prompt = `Play ${clean_name(cards[game.vm_event].name)} for the event.` - console.log('kiss of death before event button: game.stategy_discard', game.strategy_discard) gen_action('event') } else { view.prompt = 'Event does not occur.' -- cgit v1.2.3