diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-31 12:40:31 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:31:29 +0100 |
commit | a0981dff5f2e670c4607e45c072479f9bcdf43ac (patch) | |
tree | b08bf0c65f01a571b057f1735463335d18016078 | |
parent | 3b359b06d5e5460feb3eb969761094559f90c6e1 (diff) | |
download | pax-pamir-a0981dff5f2e670c4607e45c072479f9bcdf43ac.tar.gz |
Remove debugging helper.
-rw-r--r-- | play.js | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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)) -} |