summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-31 12:40:31 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:31:29 +0100
commita0981dff5f2e670c4607e45c072479f9bcdf43ac (patch)
treeb08bf0c65f01a571b057f1735463335d18016078
parent3b359b06d5e5460feb3eb969761094559f90c6e1 (diff)
downloadpax-pamir-a0981dff5f2e670c4607e45c072479f9bcdf43ac.tar.gz
Remove debugging helper.
-rw-r--r--play.js8
1 files changed, 0 insertions, 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))
-}