From 31d55d0b90e3fa555edb2e3668208b0c41a02d8c Mon Sep 17 00:00:00 2001 From: iainp5 Date: Thu, 5 Dec 2024 17:42:50 +0000 Subject: Remove debugging steps --- play.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index 2eefe26..ab569bc 100644 --- a/play.js +++ b/play.js @@ -871,13 +871,10 @@ const die = { function on_log(text, ix) { let p = document.createElement("div") - console.log('text', text) let event_string = text.match(/^C(\d+)/) - console.log('event_string', event_string) if (event_string) event_n = parseInt(event_string[1]) - console.log('event_n', event_n) if (text.match(/^>>/)) { text = text.substring(2) @@ -897,7 +894,6 @@ function on_log(text, ix) { text = text.replace(/%(\d+)/g, sub_space_name) text = text.replace(/D[1-6]/g, sub_die) - console.log('text', text) if (text.match(/^\.h1/)) { text = text.substring(4) p.className = "h1" @@ -923,12 +919,10 @@ function on_log(text, ix) { } //Group events -console.log('text', text, 'ix', ix, 'log_event', log_event, 'event_side', event_side) // Reset group box counters (when log is rewound) if (ix <= log_event) log_event = 0 if (!scoring_cards.includes(event_n)) { - console.log('applying group') if (text.match(/^.E:/)) { p.classList.add("h2") log_event = ix -- cgit v1.2.3