Commit graph

  • fd7c89ef02 Add sound effect for fascists main Oliver-Akins 2020-10-23 23:39:57 -06:00
  • 7dbd554263 Only hide overflow for X, not Y Oliver-Akins 2020-10-23 23:39:40 -06:00
  • 4e6051eb47 Add code to conditionally change the join sequence Oliver-Akins 2020-10-23 23:39:22 -06:00
  • 50f0fac1f2 Add main game view Oliver-Akins 2020-10-22 23:38:47 -06:00
  • d3dd0ccfa8 Remove error when the player list response fails Oliver-Akins 2020-10-22 23:38:23 -06:00
  • 88010f90a6 Adjust how the removal message disappears. Oliver-Akins 2020-10-22 23:37:50 -06:00
  • 17bec179cd Add StartGame handling Oliver-Akins 2020-10-22 23:37:24 -06:00
  • b7df92a06e Add main game view Oliver-Akins 2020-10-22 23:35:46 -06:00
  • 8d1b24b363 Add GameKilled handler Oliver-Akins 2020-10-21 22:12:05 -06:00
  • 7e2c53dfc4 Add a handler for the state changes Oliver-Akins 2020-10-21 22:11:43 -06:00
  • 86acbe62e4 Change KickPlayer event to RemovePlayer Oliver-Akins 2020-10-21 21:44:42 -06:00
  • aebbdf877e Add functionality to the kill/leave game buttons Oliver-Akins 2020-10-21 21:13:22 -06:00
  • 956c28ed39 Set the user's ID in LocalStorage Oliver-Akins 2020-10-21 20:49:27 -06:00
  • 953ea01673 Update comment Oliver-Akins 2020-10-21 20:48:53 -06:00
  • c17a68d1ba Use the proper CSS variables Oliver-Akins 2020-10-21 20:48:06 -06:00
  • cc6f69aab5 Add icon to website Oliver-Akins 2020-10-21 20:22:23 -06:00
  • 0969db6948 Update disabled background colour. Oliver-Akins 2020-10-21 20:21:42 -06:00
  • d0e0b0b0aa Update the disabled colours Oliver-Akins 2020-10-21 00:16:49 -06:00
  • 64f329700b Add disabled input styling Oliver-Akins 2020-10-21 00:04:01 -06:00
  • 7aca632e91 Add go-to listener for the Lobby Oliver-Akins 2020-10-21 00:03:48 -06:00
  • 2efaae5153 Add code to kick a player Oliver-Akins 2020-10-21 00:03:22 -06:00
  • 3ae75b6102 Add disabled colours for inputs Oliver-Akins 2020-10-20 23:26:19 -06:00
  • f1f6e19527 Add a back button Oliver-Akins 2020-10-20 23:25:51 -06:00
  • 88e6d5b62b Add margin to buttons Oliver-Akins 2020-10-20 23:25:34 -06:00
  • 52bdbc9903 Add a datapoint for the user ID Oliver-Akins 2020-10-20 22:46:43 -06:00
  • 7e852e81b2 Update response listener for the playerlist Oliver-Akins 2020-10-20 22:46:20 -06:00
  • 5968c71fff Update controls for host/players Oliver-Akins 2020-10-20 22:45:59 -06:00
  • 520aaee41e Don't let the host kick themselves from the game. Oliver-Akins 2020-10-20 22:45:33 -06:00
  • a56ba7fc96 Make the clipboard copy the right thing Oliver-Akins 2020-10-20 22:44:31 -06:00
  • e6467dda76 Begin work on method to kill/leave the game. Oliver-Akins 2020-10-05 22:55:20 -06:00
  • 14b7a1f5fe Begin work on the player list Oliver-Akins 2020-10-05 22:54:41 -06:00
  • 778ccaf015 Remove redundant method Oliver-Akins 2020-10-05 22:54:14 -06:00
  • 267395efe9 Add username display for the player. Oliver-Akins 2020-10-05 22:53:20 -06:00
  • fc5efdc118 Change log level of SocketIO Oliver-Akins 2020-10-05 22:52:38 -06:00
  • aed8bd128f Add styling (and convert from Stylus to CSS) Oliver-Akins 2020-10-05 22:51:02 -06:00
  • 4d59ff3a0c Remove stylus theme file Oliver-Akins 2020-10-05 22:47:10 -06:00
  • ec98480917 Convert all Stylus into CSS and add CSS var def file Oliver-Akins 2020-10-05 22:46:54 -06:00
  • 51769bedd1 Add user-name to browser storage documentation Oliver-Akins 2020-10-03 23:23:22 -06:00
  • c628a2b671 Store username in sessionStorage Oliver-Akins 2020-10-03 23:23:01 -06:00
  • a8d0741436 Add copying to clipboard functionality. Oliver-Akins 2020-10-02 17:59:56 -06:00
  • 192cae129a Add styling and make it not read from another component Oliver-Akins 2020-10-02 17:59:31 -06:00
  • ed163876c5 Add v-clipboard Oliver-Akins 2020-10-02 17:55:49 -06:00
  • b7975ed784 Add more colours for the alert styles Oliver-Akins 2020-10-02 17:55:31 -06:00
  • 6178800ce4 Add an emit to remove the alert once the view changes Oliver-Akins 2020-10-02 17:54:50 -06:00
  • 6d9d5e0e87 Center all views automatically Oliver-Akins 2020-10-02 17:54:16 -06:00
  • bfd8173b06 Add better styling for the alert bar and add more types of alert. Oliver-Akins 2020-10-02 17:53:50 -06:00
  • 1a6e661f01 Add an alert event for the game code page. Oliver-Akins 2020-10-02 10:18:37 -06:00
  • 4e746e7b78 Make game joining actually function for players Oliver-Akins 2020-10-02 10:18:19 -06:00
  • 5262cbbd00 Listen for new players while in the lobby Oliver-Akins 2020-10-02 10:18:02 -06:00
  • 2c1098ca49 Display players properly Oliver-Akins 2020-10-02 10:17:25 -06:00
  • 607575bad5 Just use the GetPlayerList event for all players instead of only the host Oliver-Akins 2020-10-02 10:16:49 -06:00
  • a81e0ffb33 Set the host key when we are not hosting the game Oliver-Akins 2020-10-02 10:16:12 -06:00
  • f068a172f6 Add special favicon Oliver-Akins 2020-09-28 23:04:32 -06:00
  • b936c4f791 Change from plaintext insert to HTML allowed. Oliver-Akins 2020-09-28 23:04:18 -06:00
  • 19618cb218 Add code to handle getting a player list from the server Oliver-Akins 2020-09-28 23:03:56 -06:00
  • 6f36a47d77 Listen for the alert event Oliver-Akins 2020-09-28 22:34:05 -06:00
  • 7de6a457ee Short circuit boolean if the ws_uri is null. Oliver-Akins 2020-09-28 22:33:51 -06:00
  • 1bd4f55335 Listen for the response from the server for the player list Oliver-Akins 2020-09-28 22:33:14 -06:00
  • 08c59ef30c Request player list on component mount if the player is the host Oliver-Akins 2020-09-28 22:32:53 -06:00
  • 24c5220843 Add method for requesting the player list. Oliver-Akins 2020-09-28 22:32:26 -06:00
  • 82140af56d Add documentation for local/session storage keys Oliver-Akins 2020-09-28 22:31:46 -06:00
  • b1ce9ebea9 update sessionStorage key Oliver-Akins 2020-09-28 22:30:51 -06:00
  • 3646797a05 Update event name Oliver-Akins 2020-09-28 22:30:31 -06:00
  • 5fbb3640b3 Remove game code indicator in the state, we get it from sessionStorage Oliver-Akins 2020-09-27 22:35:42 -06:00
  • 79c04fe626 Conform error state data object and move error state to App object Oliver-Akins 2020-09-27 22:15:55 -06:00
  • 74a784f497 Remove the is-host event for the data and put it into sessionStorage Oliver-Akins 2020-09-27 22:11:01 -06:00
  • e9416b5dce Adjust some mechanics Oliver-Akins 2020-09-27 22:08:04 -06:00
  • 16d95cd740 Add styling for the Lobby container Oliver-Akins 2020-09-27 22:07:44 -06:00
  • 60d101609b Add PlayerJoin event listener Oliver-Akins 2020-09-27 22:03:32 -06:00
  • 8d321acda2 Add player list header Oliver-Akins 2020-09-27 22:03:01 -06:00
  • 76385d1f69 Move where the sockets listener is. Oliver-Akins 2020-09-27 22:02:23 -06:00
  • 3683ee09a2 Add alert for no game code Oliver-Akins 2020-09-27 22:01:40 -06:00
  • 3c45236131 Remove disable attribute Oliver-Akins 2020-09-27 21:56:49 -06:00
  • cd14c0e681 Add alert bar Oliver-Akins 2020-09-27 21:53:43 -06:00
  • 04a5e58e78 Add css animation Oliver-Akins 2020-09-27 21:52:08 -06:00
  • a3ddddb131 Add lobby state to the component switcher. Oliver-Akins 2020-09-27 20:36:28 -06:00
  • c5f58c1833 Update ID and remove global styling Oliver-Akins 2020-09-27 16:26:41 -06:00
  • b34d1df374 Remove unneeded view Oliver-Akins 2020-09-27 16:16:14 -06:00
  • 6b8c918310 Create view to choose whether to host or join a game. Oliver-Akins 2020-09-27 16:16:00 -06:00
  • a4bb47fa35 Add vue-socket.io to the site. Oliver-Akins 2020-09-27 16:15:13 -06:00
  • 2a50ed078b Disable eslint rules that I hate Oliver-Akins 2020-09-27 16:14:27 -06:00
  • 3f9c07f48b Prompt for Websocket URI on page load until we get one. Oliver-Akins 2020-09-27 16:14:12 -06:00
  • 0c16448d43 Add base functionality to the view switching Oliver-Akins 2020-09-27 16:13:35 -06:00
  • 3168adb3a5 Move the view components into a views folder rather than mixing them in with the other components. Oliver-Akins 2020-09-27 16:12:35 -06:00
  • 703d03da3b Add error styling, and rename url to uri Oliver-Akins 2020-09-19 17:14:06 -06:00
  • 13b27056db Add base lobby component Oliver-Akins 2020-09-19 17:13:46 -06:00
  • 04958febfa Add component to either host or join a game. Oliver-Akins 2020-09-19 17:13:23 -06:00
  • 810ea4f677 Add methods for joining a game. Oliver-Akins 2020-09-19 17:13:09 -06:00
  • daa83b2da6 Add another step to game beginning Oliver-Akins 2020-09-19 17:06:57 -06:00
  • 0934c2b3e8 Add accessibility styles to inputs. Oliver-Akins 2020-09-19 17:06:33 -06:00
  • 132e7a7c2d Add more colour variables. Oliver-Akins 2020-09-19 17:06:06 -06:00
  • 36c3804ada Adjust width for Desktop Oliver-Akins 2020-09-19 00:52:19 -06:00
  • 10d7e74db7 Update formatting of game login selection Oliver-Akins 2020-09-19 00:52:05 -06:00
  • 950797c984 Make component compile properly Oliver-Akins 2020-09-19 00:41:25 -06:00
  • 682ede62b1 Add title to first stage of login Oliver-Akins 2020-09-19 00:40:39 -06:00
  • c8434e034f Rename component file Oliver-Akins 2020-09-19 00:40:15 -06:00
  • 9f513d8a1b Add styling Oliver-Akins 2020-09-19 00:40:05 -06:00
  • c0a14ed508 Init files for other components needed. Oliver-Akins 2020-09-18 00:07:22 -06:00
  • e35a57ffd8 Begin foundational logic in order of webpage state Oliver-Akins 2020-09-18 00:07:08 -06:00
  • c2ad722758 Begin work on component for submitting the game code Oliver-Akins 2020-09-18 00:06:43 -06:00