From b48f0adccb11619680a47cac5fa9c68f638bd489 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sun, 17 May 2020 13:15:41 -0400 Subject: [WebCards] Update from my local repos --- webcards/README.md | 2 +- webcards/client.html | 19 ++- webcards/index.html | 33 ++++-- webcards/scripts/cards/card.js | 45 ++++---- webcards/scripts/cards/deck.js | 27 +++-- webcards/scripts/client.js | 5 +- webcards/scripts/cookie.js | 39 +++++++ webcards/scripts/gui/input.js | 132 +++++++++++++++------ webcards/scripts/gui/lobby.js | 15 +-- webcards/scripts/gui/table.js | 4 +- webcards/scripts/theme.js | 24 ++++ webcards/styles/client/base.css | 51 ++++++--- webcards/styles/client/card.css | 49 +++++++- webcards/styles/client/desktop.css | 31 ++++- webcards/styles/client/mobile.css | 2 +- webcards/styles/home/base.css | 5 +- webcards/styles/input.css | 203 +++++++++++++++++++++++++++------ webcards/styles/themes/colors-base.css | 76 ++++++++++++ webcards/styles/themes/colors-dark.css | 77 +++++++++++++ 19 files changed, 678 insertions(+), 161 deletions(-) create mode 100644 webcards/scripts/cookie.js create mode 100644 webcards/scripts/theme.js create mode 100644 webcards/styles/themes/colors-base.css create mode 100644 webcards/styles/themes/colors-dark.css (limited to 'webcards') diff --git a/webcards/README.md b/webcards/README.md index 0c6b070..820db2b 100644 --- a/webcards/README.md +++ b/webcards/README.md @@ -1,5 +1,5 @@ # WebCardsClient -![WebCards](http://35.11.215.147:3000/CCGKyle/WebCardsClient/raw/branch/master/images/wc-icon-144.png) +WebCards An in-browser client to play WebCards \ No newline at end of file diff --git a/webcards/client.html b/webcards/client.html index 0b06712..069a041 100644 --- a/webcards/client.html +++ b/webcards/client.html @@ -16,12 +16,17 @@ + + + + + @@ -40,7 +45,7 @@ -
+
@@ -60,13 +65,13 @@
-
+
- Connecting + Connecting
@@ -126,6 +131,14 @@ }); var c2 = new Card({ all: [ + { + type: "image", + image: "assets/standard/heart.svg" + }, + { + type: "image", + image: "assets/standard/heart.svg" + }, { type: "image", image: "assets/standard/heart.svg" diff --git a/webcards/index.html b/webcards/index.html index c322ec1..d34a950 100644 --- a/webcards/index.html +++ b/webcards/index.html @@ -20,6 +20,13 @@ + + + + + + + WebCards @@ -27,10 +34,12 @@

WebCards

- +
+
+
ws
+
wss
+
+
@@ -41,17 +50,17 @@