diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-07-24 23:00:59 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-07-24 23:00:59 -0400 |
commit | 7abeb4a35a0105b94e599de9970404c98790b4d9 (patch) | |
tree | 0cbd81329df21fcdbc5a896a0711657fc60958a1 /scripts/gui/table.js | |
parent | 50a1c6f8432b541d84a1326ae8515589440a3804 (diff) |
Clean up game element
Diffstat (limited to 'scripts/gui/table.js')
-rw-r--r-- | scripts/gui/table.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/gui/table.js b/scripts/gui/table.js index 911e513..e4d6770 100644 --- a/scripts/gui/table.js +++ b/scripts/gui/table.js @@ -1,4 +1,7 @@ 'use strict'; + +const TABLE_RPC = ["newDeck", "newCard", "deleteDeck", "deleteCard", "moveByID", "swapCard"] + // Table represents and manages the actual game. It accepts inputs from the server and tries to query the server when the player makes a move. class Table{ constructor(e, drag, socket) { |