Commit graph

106 commits

Author SHA1 Message Date
Oliver Akins
826b118548
Tweak the order of events that's happening in the main site processor 2022-03-12 22:14:04 -06:00
Oliver Akins
5fb5f5d457
Default the user to not being the host 2022-03-08 13:28:28 -06:00
Oliver Akins
02dece1af0
Use the data constants from the common module 2022-03-07 23:42:15 -06:00
Oliver Akins
70bf932964
Allow using sailboat, and remove comment that won't happen.
The comment is being removed because the colours/ships will not be getting fetched from the server because it doesn't make sense for the server to be handling that list since it's entirely client-side.
2022-03-07 18:01:10 -06:00
Oliver Akins
49da524260
Add a sailboat icon 2022-03-07 17:59:13 -06:00
Oliver Akins
281686dfef
Add another possible spaceship idea 2022-03-07 00:48:38 -06:00
Oliver Akins
263950b5f1
import format to be consistent 2022-03-07 00:00:10 -06:00
Oliver-Akins
b51f6edcc9 Connect to the websocket server when loading the site 2022-01-04 21:32:37 -07:00
Oliver-Akins
76442fddce Add socket.io client to the website 2022-01-04 21:16:21 -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
3d3104ef69 Make the common package a peerDependency 2022-01-03 21:41:45 -07:00
Oliver-Akins
c5878a8334 Begin implementing game joining 2022-01-03 18:51:11 -07:00
Oliver-Akins
9d11b9eb6f Begin implementing an error when the request fails 2022-01-03 18:42:47 -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
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
Oliver-Akins
ffc3c80378 Edit the SCSS to be more SCSSesque 2021-12-22 19:30:17 -07:00
Oliver-Akins
52412ce914 load global CSS, and import the Google Material icons 2021-12-17 01:46:31 -06:00
Oliver-Akins
9308c984ca Add modals to the z-index list 2021-12-17 01:45:56 -06:00
Oliver-Akins
a9fa614a79 Tweak header to be good on mobile devices 2021-12-17 01:45:37 -06:00
Oliver-Akins
9105639bd9 Add options to the lobby screen 2021-12-17 01:45:09 -06:00
Oliver-Akins
9a43b1c17f Add mixins for the size breakpoints 2021-12-17 01:44:34 -06:00
Oliver-Akins
cef8234b85 Add a custom checkbox component 2021-12-17 01:44:17 -06:00
Oliver-Akins
64a29437d1 Allow custom classes to be on the button, make the button change the cursor type, and adjust indent on the script to make it consistent with other components 2021-12-17 01:43:45 -06:00
Oliver-Akins
dc15f29401 tweak player rows to work better on mobile devices 2021-12-17 01:41:54 -06:00
Oliver-Akins
52c6866817 Add a modal for the option info 2021-12-17 01:41:25 -06:00
Oliver-Akins
64fbf66e63 Add a base modal that other modals can expand off of 2021-12-17 01:41:14 -06:00
Oliver-Akins
8035a3afe2 Add some global CSS 2021-12-17 01:40:59 -06:00
Oliver-Akins
4b5444ead6 Add player related data for the lobby viewing 2021-12-15 02:44:11 -06:00