Commit graph

24 commits

Author SHA1 Message Date
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