Commit graph

30 commits

Author SHA1 Message Date
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
dbce447297
Add the host boolean to the playerdata type 2022-03-12 23:14:57 -06:00
Oliver Akins
0ddf5d8a14
Add a game count to the server info response 2022-03-07 23:36:41 -06:00
Oliver Akins
f9f14422d8
Fix the exports in the common module 2022-03-07 23:36:09 -06:00
Oliver Akins
d1e37d8fec
Add ship design constants in the shared module 2022-03-07 23:35:56 -06:00
Oliver Akins
1ccc3b6c33
Update types to be in-line with the events 2022-03-07 17:58:23 -06:00
Oliver Akins
c760b0f36d
Add a type that has genericized request data 2022-03-07 17:57:48 -06:00
Oliver Akins
a8311a6834
Update the server info interface to be inline with my new format for interfaces 2022-03-07 00:49:59 -06:00
Oliver Akins
06cfea7564
Remove old event data interfaces 2022-03-07 00:49:16 -06:00
Oliver Akins
4e61f0283d
Add a makefile to build both ESM and CJS 2022-03-06 23:06:18 -06:00
Oliver Akins
dc3f1a8b1d
Change the common lib from es2020 to commonjs 2022-03-05 00:35:30 -06:00
Oliver-Akins
15da1158c7 Add a type for the fuel card representation 2022-01-09 00:30:47 -06:00
Oliver-Akins
ec37881de7 Make the board argument an array of any type. 2022-01-09 00:30:29 -06:00
Oliver-Akins
b109c0d082 Add the algorithm for helping with ship movement 2022-01-08 21:34:03 -06:00
Oliver-Akins
f25d1ef965 Remove unused file 2022-01-06 16:28:48 -07:00
Oliver-Akins
c5449f1153 Update the type structure, and rename the "game.*" events to "lobby.*" 2022-01-06 16:25:38 -07:00
Oliver-Akins
3b5e643232 Add docs and types for the game.join event 2022-01-05 23:06:22 -07:00
Oliver-Akins
054fa71b18 Add exports for the new types 2022-01-05 01:26:03 -07:00
Oliver-Akins
005b2c929f Make the ServerResponse use the Status enum as the type 2022-01-05 01:25:49 -07:00
Oliver-Akins
c93b903094 Add docs and types for the game join event 2022-01-05 01:25:21 -07:00
Oliver-Akins
81d9f0a5bf Remove the IServerInfoRequest interface since it wasn't in use 2022-01-05 01:24:34 -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
20ea2b9fa0 Make the common package actually work with Vite 2022-01-03 21:41:09 -07:00
Oliver-Akins
7db70bc4ec Rename the event identifier in the type documentation 2022-01-03 18:50:35 -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
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