summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-06-27 13:55:59 +0100
committerGitHub <noreply@github.com>2024-06-27 13:55:59 +0100
commite577d2f3c34de05337d9d59c968ab6a7fe65d95c (patch)
tree6f5e51bc41215622ac4acb913ad47bded02d13c8
parent0debf00f1c5c4251b4c43b9e1c9de902b100fcfb (diff)
download1989-dawn-of-freedom-e577d2f3c34de05337d9d59c968ab6a7fe65d95c.tar.gz
Feat: started ui
-rw-r--r--play.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/play.js b/play.js
index 27692bc..6cdb209 100644
--- a/play.js
+++ b/play.js
@@ -130,6 +130,19 @@ function createMap() {
createMap()
console.log('Hello')
console.log('game:',game)
+
+
+let ui = {
+ favicon: document.getElementById('favicon'),
+ player: [
+ document.getElementById("role_Democrat"),
+ document.getElementById("role_Communist"),
+ ],
+ cards: [ null ],
+ events_panel: document.getElementById("events_panel"),
+ hand_panel: document.getElementById("hand_panel"),
+
+}
console.log('strategy deck', game.strategy_deck)
//function changeInfl() {}