Commit Graph

14 Commits

Author SHA1 Message Date
f702065a7c a lot of pointless changes but also a basic tick system 2024-11-14 09:12:23 -06:00
b03e194a34 split each request/response type into its own file 2024-10-29 13:14:08 -05:00
92fed87080 just for fun: a test game loop that cycles world width/height from 0-100 once a second; client prints them too btw 2024-10-27 23:48:51 -05:00
a87b6c1152 client send request and server handles and response to it 2024-10-23 14:35:07 -05:00
bfbba84b5c i forgor that common lib is technically a system lib so it should be in <> and not "" 2024-10-17 15:14:16 -05:00
c31078ebd5 refactor a lot of the code because it was getting messy 2024-10-13 15:04:35 -05:00
578f4446b4 (de)serialise entities too but it does even the uninitialised ones too due to the array thing 2024-10-10 23:46:14 -05:00
3efa5479f2 (de)serialisation in server/client goes world_t -> const char *, rather than world_t -> json_t -> const char * 2024-10-10 17:31:07 -05:00
8d5fc464cb serialise and deserialise very basic json data, and send it between server and client 2024-10-10 00:58:13 -05:00
f1b30b697e comply with -std=c17 2024-10-08 18:40:20 -05:00
0c80ea5f10 refactor server sockets so they're a bit cleaner 2024-10-06 00:33:01 -05:00
f2478951a2 open a socket on server/client that just echos; also fixed a critical bug in the daemon(++ -> -- lol) so now it actually daemonises 2024-10-05 03:58:16 -05:00
2db264c027 mainly just make spacing look nicer lol 2024-10-05 01:35:07 -05:00
174ed1ed30 we do a lil daemonisation >:-) 2024-10-04 00:05:43 -05:00