summaryrefslogtreecommitdiff
path: root/webcards/scripts/client/table.js
diff options
context:
space:
mode:
authorKyle Gunger <corechg@gmail.com>2020-02-27 17:48:00 -0500
committerKyle Gunger <corechg@gmail.com>2020-02-27 17:48:00 -0500
commitea8f308bc00330b5378eb2b8f16d9cc348719c9a (patch)
tree34a9074b4687beefd3bf046d68374ef307f178da /webcards/scripts/client/table.js
parent62cfd4f23993e04602aa15adf4fc71e6eb48c376 (diff)
Init WebCards
Diffstat (limited to 'webcards/scripts/client/table.js')
-rw-r--r--webcards/scripts/client/table.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/webcards/scripts/client/table.js b/webcards/scripts/client/table.js
new file mode 100644
index 0000000..911763a
--- /dev/null
+++ b/webcards/scripts/client/table.js
@@ -0,0 +1,16 @@
+// Table represents and manages the actual game. It accepts inputs from the server and tries to queries the server when the player makes a move.
+function Table(el, soc) {
+ this.root = el;
+ this.soc = soc;
+}
+
+Table.prototype = {
+
+ handleClose: function() {
+
+ },
+
+ reset: function() {
+
+ }
+} \ No newline at end of file