From a0981dff5f2e670c4607e45c072479f9bcdf43ac Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 31 Jan 2023 12:40:31 +0100 Subject: Remove debugging helper. --- play.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/play.js b/play.js index cc65b47..8770966 100644 --- a/play.js +++ b/play.js @@ -922,11 +922,3 @@ function build_ui() { if (player !== 'Observer') ui.player[top].hand_size.classList.add("hide") } - -function debug() { - function rr(k,v) { return k === 'log' || k === 'players' || k === 'actions' ? undefined : v } - console.log("VIEW", JSON.stringify(view, rr, 0)) - console.log("ACTIONS", JSON.stringify(view.actions, rr, 0)) - for (let i = 0; i < view.players.length; ++i) - console.log("PLAYER", i, JSON.stringify(view.players[i], rr, 0)) -} -- cgit v1.2.3