Commit graph

99 commits

Author SHA1 Message Date
Oliver Akins
6e51bf7656
Add a component for a player's hand 2022-07-25 21:37:31 -06:00
Oliver Akins
a6788232e7
Make a card component 2022-07-25 21:37:02 -06:00
Oliver Akins
71fed3f107
Moar particles 2022-07-25 21:36:42 -06:00
Oliver Akins
23a80ccc28
Add a circle SVG for a11y reasons 2022-07-25 21:36:32 -06:00
Oliver Akins
ab3e4eb0ff
Fix the gosh darned particles 2022-07-23 19:29:26 -06:00
Oliver Akins
5b2072b473
Add the ability to change the buttons text colour. 2022-07-22 19:45:04 -06:00
Oliver Akins
1b011d4a3b
Tweak animation lengths slightly 2022-07-22 19:44:43 -06:00
Oliver Akins
8d5a02f9a2
Correct the conditionals to display the ships 2022-07-22 18:47:39 -06:00
Oliver Akins
2eba630e39
Add a default value to the players store 2022-07-20 22:56:27 -06:00
Oliver Akins
b26911184f
Properly subscribe to the board store, and index the players data for proper information 2022-07-20 22:24:04 -06:00
Oliver Akins
e757168351
Replace nether portal warp gate with custom icon 2022-07-20 22:12:42 -06:00
Oliver Akins
8684f9d6f6
Create custom warpgate container for Cyber'ss icon 2022-07-20 22:12:11 -06:00
Oliver Akins
25aeb8bc9e
Remove the rotation from the sailboat to prevent weird pointing direction 2022-07-20 21:16:03 -06:00
Oliver Akins
a8d9a363cb
Update the type of the players store 2022-07-20 21:14:02 -06:00
Oliver Akins
9508a7e66a
Move the board into a writable store 2022-07-20 21:13:41 -06:00
Oliver Akins
4ca083e570
Make the code only compute the proper main area index one time 2022-07-20 21:12:20 -06:00
Oliver Akins
d4bc98ff77
Add the class to style the side boxes with 2022-07-20 21:11:46 -06:00
Oliver Akins
12531fce67
Update the CSS 2022-07-20 21:09:17 -06:00
Oliver Akins
628ce29dad
Upgrade packages so I can use @const 2022-07-20 21:07:40 -06:00
Oliver Akins
599a4140a3
Add a basic movement phase screen with a board. 2022-07-19 22:54:49 -06:00
Oliver Akins
378e4315ba
Tweak the hexagon component to use the SVG background image 2022-07-19 22:54:13 -06:00
Oliver Akins
6f7477eecf
Move the onMount function call 2022-07-19 22:53:49 -06:00
Oliver Akins
4ab85924a9
Add a custom hexagon SVG 2022-07-19 22:53:20 -06:00
Oliver Akins
57135c4fad
Optimize the SVGs 2022-07-19 22:53:06 -06:00
Oliver Akins
ed715b14e4
Make it so that the game link gets added to the browser URL when joining a game 2022-03-15 23:25:56 -06:00
Oliver Akins
7d39b41b6d
Add functionality to the Copy Game Link button 2022-03-15 23:25:27 -06:00
Oliver Akins
b0e2a9e6d4
Instead of using onDestroy, return a function from onMount 2022-03-15 22:38:09 -06:00
Oliver Akins
018ae4fe06
Add a no-op button to copy the game link to the user's clipboard 2022-03-15 01:41:05 -06:00
Oliver Akins
c340755ba2
Make the JoinLobby modal nicer 2022-03-15 01:34:09 -06:00
Oliver Akins
bcc0664342
Move lobby creation/hosting into it's own modal 2022-03-15 01:07:02 -06:00
Oliver Akins
2dd456897f
Move the error style to be global 2022-03-15 00:21:51 -06:00
Oliver Akins
31cd9a1558
Default the store values so we don't get undefined appearing in the text entries 2022-03-15 00:04:43 -06:00
Oliver Akins
ffc759e267
Tweak import statement 2022-03-13 20:14:31 -06:00
Oliver Akins
9708be3f1e
Tweak imports 2022-03-13 20:14:07 -06:00
Oliver Akins
1b9f3d780e
Add code to handle the lobby info responses 2022-03-13 18:32:15 -06:00
Oliver Akins
2c4c7c38b0
Add code to handle the join lobby response 2022-03-13 18:31:58 -06:00
Oliver Akins
af37e3b5f5
Make the colour appear correctly even when it isn't our slot 2022-03-13 18:30:33 -06:00
Oliver Akins
ee40351d1b
Update option info modal to only display non-hidden options 2022-03-13 01:45:06 -06:00
Oliver Akins
6e9ff8b751
Add the list of game options to the common module and make the multiplayer lobby begin listening to lobby info events + some style tweaks. 2022-03-13 01:33:38 -06:00
Oliver Akins
4b12a5a1a0
Adjust stores available.
- Remove default player objects
  - Remove Player interface
  - Make players store writable
  - Use PlayerData type from the common module
  - Add a gameCode store
2022-03-12 23:16:49 -06:00
Oliver Akins
e3e5dbb7bf
Begin adding socket communication for lobby creating/joining 2022-03-12 23:15:19 -06:00
Oliver Akins
dd5a1e8cb9
Make the lobby more compatible with the colour/ship objects 2022-03-12 23:14:42 -06:00
Oliver Akins
df6b8a0875
Add code bodies to the hostGame and joinGame methods 2022-03-12 22:14:37 -06:00
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