Commit graph

45 commits

Author SHA1 Message Date
Oliver-Akins
d3dd0ccfa8 Remove error when the player list response fails 2020-10-22 23:38:23 -06:00
Oliver-Akins
88010f90a6 Adjust how the removal message disappears. 2020-10-22 23:37:50 -06:00
Oliver-Akins
17bec179cd Add StartGame handling 2020-10-22 23:37:24 -06:00
Oliver-Akins
8d1b24b363 Add GameKilled handler 2020-10-21 22:12:05 -06:00
Oliver-Akins
86acbe62e4 Change KickPlayer event to RemovePlayer 2020-10-21 21:44:42 -06:00
Oliver-Akins
aebbdf877e Add functionality to the kill/leave game buttons 2020-10-21 21:13:22 -06:00
Oliver-Akins
956c28ed39 Set the user's ID in LocalStorage 2020-10-21 20:49:27 -06:00
Oliver-Akins
2efaae5153 Add code to kick a player 2020-10-21 00:03:22 -06:00
Oliver-Akins
f1f6e19527 Add a back button 2020-10-20 23:25:51 -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
aed8bd128f Add styling (and convert from Stylus to CSS) 2020-10-05 22:51:02 -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
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
6178800ce4 Add an emit to remove the alert once the view changes 2020-10-02 17:54:50 -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
19618cb218 Add code to handle getting a player list from the server 2020-09-28 23:03:56 -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
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
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
16d95cd740 Add styling for the Lobby container 2020-09-27 22:07:44 -06:00
Oliver-Akins
60d101609b Add PlayerJoin event listener 2020-09-27 22:03:32 -06:00
Oliver-Akins
8d321acda2 Add player list header 2020-09-27 22:03:01 -06:00
Oliver-Akins
76385d1f69 Move where the sockets listener is. 2020-09-27 22:02:23 -06:00
Oliver-Akins
3683ee09a2 Add alert for no game code 2020-09-27 22:01:40 -06:00
Oliver-Akins
3c45236131 Remove disable attribute 2020-09-27 21:56:49 -06:00
Oliver-Akins
c5f58c1833 Update ID and remove global styling 2020-09-27 16:26:41 -06:00
Oliver-Akins
6b8c918310 Create view to choose whether to host or join a game. 2020-09-27 16:16:00 -06:00
Oliver-Akins
3168adb3a5 Move the view components into a views folder rather than mixing them in with the other components. 2020-09-27 16:12:35 -06:00