Commit graph

88 commits

Author SHA1 Message Date
Oliver-Akins
d0e0b0b0aa Update the disabled colours 2020-10-21 00:16:49 -06:00
Oliver-Akins
64f329700b Add disabled input styling 2020-10-21 00:04:01 -06:00
Oliver-Akins
7aca632e91 Add go-to listener for the Lobby 2020-10-21 00:03:48 -06:00
Oliver-Akins
2efaae5153 Add code to kick a player 2020-10-21 00:03:22 -06:00
Oliver-Akins
3ae75b6102 Add disabled colours for inputs 2020-10-20 23:26:19 -06:00
Oliver-Akins
f1f6e19527 Add a back button 2020-10-20 23:25:51 -06:00
Oliver-Akins
88e6d5b62b Add margin to buttons 2020-10-20 23:25:34 -06:00
Oliver-Akins
52bdbc9903 Add a datapoint for the user ID 2020-10-20 22:46:43 -06:00
Oliver-Akins
7e852e81b2 Update response listener for the playerlist 2020-10-20 22:46:20 -06:00
Oliver-Akins
5968c71fff Update controls for host/players 2020-10-20 22:45:59 -06:00
Oliver-Akins
520aaee41e Don't let the host kick themselves from the game. 2020-10-20 22:45:33 -06:00
Oliver-Akins
a56ba7fc96 Make the clipboard copy the right thing 2020-10-20 22:44:31 -06:00
Oliver-Akins
e6467dda76 Begin work on method to kill/leave the game. 2020-10-05 22:55:20 -06:00
Oliver-Akins
14b7a1f5fe Begin work on the player list 2020-10-05 22:54:41 -06:00
Oliver-Akins
778ccaf015 Remove redundant method 2020-10-05 22:54:14 -06:00
Oliver-Akins
267395efe9 Add username display for the player. 2020-10-05 22:53:20 -06:00
Oliver-Akins
fc5efdc118 Change log level of SocketIO 2020-10-05 22:52:38 -06:00
Oliver-Akins
aed8bd128f Add styling (and convert from Stylus to CSS) 2020-10-05 22:51:02 -06:00
Oliver-Akins
4d59ff3a0c Remove stylus theme file 2020-10-05 22:47:10 -06:00
Oliver-Akins
ec98480917 Convert all Stylus into CSS and add CSS var def file 2020-10-05 22:46:54 -06:00
Oliver-Akins
51769bedd1 Add user-name to browser storage documentation 2020-10-03 23:23:22 -06:00
Oliver-Akins
c628a2b671 Store username in sessionStorage 2020-10-03 23:23:01 -06:00
Oliver-Akins
a8d0741436 Add copying to clipboard functionality. 2020-10-02 17:59:56 -06:00
Oliver-Akins
192cae129a Add styling and make it not read from another component 2020-10-02 17:59:31 -06:00
Oliver-Akins
ed163876c5 Add v-clipboard 2020-10-02 17:55:49 -06:00
Oliver-Akins
b7975ed784 Add more colours for the alert styles 2020-10-02 17:55:31 -06:00
Oliver-Akins
6178800ce4 Add an emit to remove the alert once the view changes 2020-10-02 17:54:50 -06:00
Oliver-Akins
6d9d5e0e87 Center all views automatically 2020-10-02 17:54:16 -06:00
Oliver-Akins
bfd8173b06 Add better styling for the alert bar and add more types of alert. 2020-10-02 17:53:50 -06:00
Oliver-Akins
1a6e661f01 Add an alert event for the game code page. 2020-10-02 10:18:37 -06:00
Oliver-Akins
4e746e7b78 Make game joining actually function for players 2020-10-02 10:18:19 -06:00
Oliver-Akins
5262cbbd00 Listen for new players while in the lobby 2020-10-02 10:18:02 -06:00
Oliver-Akins
2c1098ca49 Display players properly 2020-10-02 10:17:25 -06:00
Oliver-Akins
607575bad5 Just use the GetPlayerList event for all players instead of only the host 2020-10-02 10:16:49 -06:00
Oliver-Akins
a81e0ffb33 Set the host key when we are not hosting the game 2020-10-02 10:16:12 -06:00
Oliver-Akins
f068a172f6 Add special favicon 2020-09-28 23:04:32 -06:00
Oliver-Akins
b936c4f791 Change from plaintext insert to HTML allowed. 2020-09-28 23:04:18 -06:00
Oliver-Akins
19618cb218 Add code to handle getting a player list from the server 2020-09-28 23:03:56 -06:00
Oliver-Akins
6f36a47d77 Listen for the alert event 2020-09-28 22:34:05 -06:00
Oliver-Akins
7de6a457ee Short circuit boolean if the ws_uri is null. 2020-09-28 22:33:51 -06:00
Oliver-Akins
1bd4f55335 Listen for the response from the server for the player list 2020-09-28 22:33:14 -06:00
Oliver-Akins
08c59ef30c Request player list on component mount if the player is the host 2020-09-28 22:32:53 -06:00
Oliver-Akins
24c5220843 Add method for requesting the player list. 2020-09-28 22:32:26 -06:00
Oliver-Akins
82140af56d Add documentation for local/session storage keys 2020-09-28 22:31:46 -06:00
Oliver-Akins
b1ce9ebea9 update sessionStorage key 2020-09-28 22:30:51 -06:00
Oliver-Akins
3646797a05 Update event name 2020-09-28 22:30:31 -06:00
Oliver-Akins
5fbb3640b3 Remove game code indicator in the state, we get it from sessionStorage 2020-09-27 22:35:42 -06:00
Oliver-Akins
79c04fe626 Conform error state data object and move error state to App object 2020-09-27 22:15:55 -06:00
Oliver-Akins
74a784f497 Remove the is-host event for the data and put it into sessionStorage 2020-09-27 22:11:01 -06:00
Oliver-Akins
e9416b5dce Adjust some mechanics 2020-09-27 22:08:04 -06:00