summaryrefslogtreecommitdiff
path: root/scripts/client/table.js
diff options
context:
space:
mode:
authorKyle Gunger <corechg@gmail.com>2020-02-27 18:06:56 -0500
committerKyle Gunger <corechg@gmail.com>2020-02-27 18:06:56 -0500
commit87ce9d1c162ac9606a9b4d817a5f3b486889a46f (patch)
treee8454d0e3fc484c67aad08ecce2aa623640ce777 /scripts/client/table.js
parent9e053ea489f163e0e365778d20b7d0386be1d575 (diff)
Initialize Client repo with predone work
Diffstat (limited to 'scripts/client/table.js')
-rw-r--r--scripts/client/table.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/client/table.js b/scripts/client/table.js
new file mode 100644
index 0000000..911763a
--- /dev/null
+++ b/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