|
eee34eb3ff
|
tidy up
|
2020-05-30 19:16:50 -04:00 |
|
|
43babbbfab
|
Maintain state records for connected players
|
2020-05-30 16:10:55 -04:00 |
|
|
750cfe1630
|
Create a PlayerId typedef, don't overload -1 for unassigned.
|
2020-05-26 23:32:28 -04:00 |
|
|
764e4d85cf
|
Build out skeleton of server message processing flow
|
2020-05-25 23:38:18 -04:00 |
|
|
48ab9547ed
|
Bizarre hack that seems to fix the type_length_limit error, but I'm not sure why
|
2020-05-25 23:24:55 -04:00 |
|
|
319f082d53
|
move client logic into one async fn
|
2020-05-25 22:17:44 -04:00 |
|
|
f83aab0c9e
|
Split "parsing" and "processing" phases of input stream
|
2020-05-25 20:06:50 -04:00 |
|
|
2f64708e4e
|
tidy up main.rs
|
2020-05-25 18:35:01 -04:00 |
|
|
eb7ea021b0
|
hide some generics that don't need to be generic
|
2020-05-24 23:14:25 -04:00 |
|
|
03e4512839
|
Move greeting into its own function, tidy up error path.
|
2020-05-24 20:53:30 -04:00 |
|
|
cf513ace26
|
Move HELO to actually come from the server
|
2020-05-23 14:24:49 -04:00 |
|
|
3ac90e59b0
|
Move websocket handler into dedicated function
|
2020-05-22 22:50:28 -04:00 |
|
|
f04822fcf0
|
only one client per page
|
2020-05-18 22:12:27 -04:00 |
|
|
0fab0e8c56
|
Create Serde structs for messages
|
2020-05-18 22:12:11 -04:00 |
|
|
e5c68b0c37
|
Fix prediction from null state to permit local prediction before server starts sending input.
|
2020-05-18 19:44:19 -04:00 |
|
|
e9c73ae998
|
Implement connection to websocket server
|
2020-05-17 23:47:50 -04:00 |
|
|
6491588223
|
Add proper "helo" message to protocol so client can be sure server is ready to receive input.
|
2020-05-17 23:39:28 -04:00 |
|
|
9df57e4aa9
|
Tidy typings for client server-connection dependency injection
|
2020-05-17 23:17:39 -04:00 |
|
|
9798687693
|
debug-log received websocket messages
|
2020-05-17 00:43:56 -04:00 |
|
|
ca5bf65e9d
|
Change message type enum to serde-friendly strings; remove unused Ping message
|
2020-05-12 23:00:06 -04:00 |
|
|
a22ca95d3d
|
Clarify error when unable to parse listen address
|
2020-05-11 08:59:23 -04:00 |
|
|
d031061c41
|
Create stub server in Rust using Warp to handle websockets.
|
2020-05-10 20:06:20 -04:00 |
|
|
5c9552fe49
|
lowercase folders for Rust convention compatibility
|
2020-05-10 18:47:03 -04:00 |
|
|
c620e4c982
|
Reset state on client connection instead of as a special manipulation of the local server.
|
2020-05-09 22:08:22 -04:00 |
|
|
7c06ab473d
|
Break up client & server message handling logic into their own functions for better readability.
|
2020-05-09 22:07:42 -04:00 |
|
|
6427361d7b
|
Fix typing for server in index.ts
|
2020-05-09 19:25:50 -04:00 |
|
|
44872c3d0e
|
avoid accidental js spamming the project
|
2020-05-09 19:25:39 -04:00 |
|
|
c9f3a96662
|
tidy+update packages
|
2020-05-09 17:55:46 -04:00 |
|
|
a8b5dea37a
|
Share one server instance between two client instances!
|
2020-05-02 21:22:57 -04:00 |
|
|
c8589828c7
|
Replace the stub loopback server with a local, but multi-client server.
|
2020-05-02 21:21:56 -04:00 |
|
|
633611056e
|
create "catchTalkback" callbag operator
|
2020-05-02 21:21:56 -04:00 |
|
|
70946d450a
|
vendor some callbag utilities for better typings
|
2020-05-02 21:21:56 -04:00 |
|
|
0726ed15f7
|
Add more callbag dependencies
|
2020-05-02 21:21:56 -04:00 |
|
|
258c179887
|
split generics for local/full input types for now
LoopbackServer still makes the assumption that GlobalInput = LocalInput[]
|
2020-05-01 22:51:21 -04:00 |
|
|
743905cad4
|
Add notion of multiple connected players to lockstep protocol
|
2020-05-01 22:21:37 -04:00 |
|
|
39018635cd
|
fill out more planned message types
|
2020-05-01 22:21:37 -04:00 |
|
|
04f947e7a4
|
HMR stub
|
2020-04-04 21:48:50 -04:00 |
|
|
264db31ac7
|
Refactor typings to enforce cloning hygiene, at expense of intrusive Component type
|
2020-04-04 21:09:49 -04:00 |
|
|
33eb28e338
|
use callbag-pipe
|
2020-04-03 18:35:23 -04:00 |
|
|
48940e1073
|
Plan update
|
2020-03-26 00:31:27 -04:00 |
|
|
07071e6ca6
|
Hacky fix to state cloning
|
2020-03-26 00:31:27 -04:00 |
|
|
281514e7b7
|
draw backdrop
|
2020-03-26 00:31:27 -04:00 |
|
|
3a2bc5654e
|
Hacky key control
|
2020-03-26 00:31:26 -04:00 |
|
|
e3ddadadda
|
Add babel
|
2020-03-24 23:48:38 -04:00 |
|
|
4212952abc
|
Remove decorators in favor of declarative initialization
|
2020-03-24 23:47:04 -04:00 |
|
|
a1900a4daa
|
update package.json
|
2020-03-12 00:12:34 -04:00 |
|
|
1ed760781b
|
update plan
|
2020-02-20 23:55:23 -05:00 |
|
|
4667c4b567
|
Update list of message types from thinking
|
2020-02-20 23:55:16 -05:00 |
|
|
01349724a9
|
stub "loopback" server
|
2020-02-16 00:42:58 -05:00 |
|
|
2bff1f6cdf
|
nix dead code
|
2020-02-16 00:13:28 -05:00 |
|