Commit graph

222 commits

Author SHA1 Message Date
Oliver-Akins
81d9f0a5bf Remove the IServerInfoRequest interface since it wasn't in use 2022-01-05 01:24:34 -07:00
Oliver-Akins
10a2d67907 Add a bit more detail about the Broadcasted events 2022-01-04 21:35:04 -07:00
Oliver-Akins
b51f6edcc9 Connect to the websocket server when loading the site 2022-01-04 21:32:37 -07:00
Oliver-Akins
a6b99c2afd Fix the event handler to actually return data 2022-01-04 21:31:10 -07:00
Oliver-Akins
9c5e0ab4d9 Add CORS policy on the websocket server 2022-01-04 21:17:07 -07:00
Oliver-Akins
76442fddce Add socket.io client to the website 2022-01-04 21:16:21 -07:00
Oliver-Akins
e7b16143ec Ignore all TOML files, excluding templates 2022-01-04 20:32:42 -07:00
Oliver-Akins
8156085ef3 Begin on the docs for the code that resides in it's own folder 2022-01-04 20:32:03 -07:00
Oliver-Akins
642e1b2de6 Reorder export to make the heirarchy more clear 2022-01-04 20:31:14 -07:00
Oliver-Akins
442230deb6 Add types for the server.info websocket events 2022-01-04 20:30:46 -07:00
Oliver-Akins
cb09d4a9df Create a super primitive websocket server 2022-01-04 20:30:11 -07:00
Oliver-Akins
7e5a4ffe86 Add config files for pnpm and tsc 2022-01-04 20:29:46 -07:00
Oliver-Akins
231f63c4bf Adjust the focus style for the buttons 2022-01-04 12:31:24 -07:00
Oliver-Akins
e7533f60aa Rename the ColourChoice modal to ShipDesigner 2022-01-04 12:31:01 -07:00
Oliver-Akins
174add9e49 Adjust modal title 2022-01-04 12:29:14 -07:00
Oliver-Akins
eb9cbe48b6 Tweak the styling of the inner components to be max width 2022-01-04 12:29:01 -07:00
Oliver-Akins
81ea8e5f9d Style the select elements 2022-01-04 12:28:39 -07:00
Oliver-Akins
5a8a8425a8 Add some steps on how to start a dev environment 2022-01-03 22:02:37 -07:00
Oliver-Akins
3d3104ef69 Make the common package a peerDependency 2022-01-03 21:41:45 -07:00
Oliver-Akins
20ea2b9fa0 Make the common package actually work with Vite 2022-01-03 21:41:09 -07:00
Oliver-Akins
c5878a8334 Begin implementing game joining 2022-01-03 18:51:11 -07:00
Oliver-Akins
7db70bc4ec Rename the event identifier in the type documentation 2022-01-03 18:50:35 -07:00
Oliver-Akins
988810b9eb Add some more event documentation for the server 2022-01-03 18:47:46 -07:00
Oliver-Akins
9d11b9eb6f Begin implementing an error when the request fails 2022-01-03 18:42:47 -07:00
Oliver-Akins
1e18179cc6 Convert exports to wildcard instead of named 2022-01-03 18:40:48 -07:00
Oliver-Akins
dbedecc900 Prefix interfaces for data with a capital I 2022-01-03 18:40:09 -07:00
Oliver-Akins
fae2fe3837 Add some documentation to the status enum 2022-01-03 18:35:54 -07:00
Oliver-Akins
9f77f255a3 Remove type file 2022-01-03 18:25:33 -07:00
Oliver-Akins
8ea5b506f4 Add common module as a dependency 2022-01-03 18:25:22 -07:00
Oliver-Akins
c2dfd2fd3a Convert from the symlink format to a local package 2022-01-03 18:24:59 -07:00
Oliver-Akins
4c957cce07 Put types and enums that both the server and web need into a common area 2021-12-28 20:08:42 -07:00
Oliver-Akins
526b4c5771 Add a document detailing all the events that the client will send to the server 2021-12-25 23:58:16 -07:00
Oliver-Akins
0edf74ab7f Add the ship type to the player data 2021-12-25 23:57:26 -07:00
Oliver-Akins
c282ec0378 Add a background to each of the options 2021-12-25 23:56:54 -07:00
Oliver-Akins
1e8ae8e99f Remove the taken property from Colour 2021-12-25 23:56:13 -07:00
Oliver-Akins
7de3f614da Add a Hexagon component 2021-12-25 23:55:54 -07:00
Oliver-Akins
72db6ae4d0 Update the ColourChoice to be better UI & UX 2021-12-25 23:55:44 -07:00
Oliver-Akins
19a4d909f8 Add a component that allows for easier ship svg usage 2021-12-25 23:55:17 -07:00
Oliver-Akins
f3af5a77d7 Add the ColourChoice modal to the lobby 2021-12-24 03:22:38 -07:00
Oliver-Akins
36487500e1 Add a type for the colour object 2021-12-24 03:22:15 -07:00
Oliver-Akins
2530e90774 Make player component use the isHost store 2021-12-24 03:21:59 -07:00
Oliver-Akins
6dc0ed2ab5 Add type annocations, change hostName to isHost, add players list and type 2021-12-24 03:21:31 -07:00
Oliver-Akins
0fb2d986a9 Change way the images are marked up, and correct some alt text 2021-12-24 03:20:32 -07:00
Oliver-Akins
0925b6d59f Begin work on a modal for changing the player's colour 2021-12-24 03:20:00 -07:00
Oliver-Akins
7b4826dfbc Make the button components use the click listen instead of the handler 2021-12-24 03:19:33 -07:00
Oliver-Akins
4bdbe8f231 Update the button to not take a handler function and just bubble the click event 2021-12-24 03:18:25 -07:00
Oliver-Akins
ba093cdfa7 Add the space shuttle SVG that I'm going to use 2021-12-24 03:17:59 -07:00
Oliver-Akins
c305551175 Use an each block for option populating 2021-12-22 19:39:21 -07:00
Oliver-Akins
8e568d355c Update option descriptions and add Fate option 2021-12-22 19:31:35 -07:00
Oliver-Akins
8683f50bd4 Adjust the code format and add the ability to disable the checkbox 2021-12-22 19:31:05 -07:00