Oliver Akins
4601ed480c
Allow half-ing the card for the order-preview
2022-07-30 17:44:17 -06:00
Oliver Akins
69aa91e632
Wrap the space shuttle icon in a div
2022-07-30 17:43:33 -06:00
Oliver Akins
60215ec328
Allow rendering a notice as well as a preview board
2022-07-25 23:56:03 -06:00
Oliver Akins
296aa7f298
Modify the board to accept the position array as a prop instead of accessing the store directly.
2022-07-25 23:55:30 -06:00
Oliver Akins
dd3662560d
Bubble or stop hover events depending on if the card button is visible.
2022-07-25 23:54:59 -06:00
Oliver Akins
b44417084c
Emit events when the user hovers over the card.
2022-07-25 23:54:11 -06:00
Oliver Akins
8ffffd8834
Add a writable store the player's hand
2022-07-25 21:38:42 -06:00
Oliver Akins
bd70c2caac
Add the player hand to the movement view
2022-07-25 21:38:23 -06:00
Oliver Akins
a36d85ae74
Correct the code to work with the new data structure
2022-07-25 21:38:05 -06:00
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