From 3241d4b8c80f9424a3f725b5905def22916fc854 Mon Sep 17 00:00:00 2001 From: rodri Date: Thu, 29 Jul 2021 14:56:10 +0000 Subject: made the client window size immutable. added some dev notes to a file. renamed Lobby.healthcheck to Lobby.purge, which makes more sense. --- notes | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 notes (limited to 'notes') diff --git a/notes b/notes new file mode 100644 index 0000000..26e05fb --- /dev/null +++ b/notes @@ -0,0 +1,17 @@ +• there's, at most, two players waiting in the lobby at a given time. +it makes no sense to allocate more than two seats since the threadsim +will consume them whenever they are ready to join the party. i'm +thinking of using channels to synchronize the two threads, so +threadsim doesn't loop doing nothing (but sleeping) until at least a +couple of players join. + +• the integrator has to operate with vectors and the different objects +in the universe, some of which may require their own governing laws. + +• think of a way to pack the bullets efficiently. will they be part +of the global state broadcast? what does the client need to know to +render and manage them? + +• it could be beneficial to do dynamics in the client as well, which +means sending more data, and probably require a tighter sync, but a +smoother user experience. -- cgit v1.2.3