Remote agent/Simulation/C: Difference between revisions

Content added Content deleted
m (-leftover cruft)
m (Use {{collection}}, not {{implementation}}.)
Line 1: Line 1:
{{implementation|Remote agent/Simulation}}
{{collection|Remote agent/Simulation}}
Server/client programs share a lot of code, so they are all lumped together here. To compile, dump all three files in the same dir, and compile server.c and client.c separately. The server binds to port 11111. Both server and client display the current map, though only the server has the whole world, the client only knows cells the agent has been to.
Server/client programs share a lot of code, so they are all lumped together here. To compile, dump all three files in the same dir, and compile server.c and client.c separately. The server binds to port 11111. Both server and client display the current map, though only the server has the whole world, the client only knows cells the agent has been to.