Hi there, <br><br>I am still looking for a way to program my network game (four players on four different computers collaboratively control the direction of one object, each is responsible to move the object in one of four directions.) <br>
I guess one solution would be a server-client approach. <br>Each client sends a value to the server, the server collects the input of the four clients and returns the input of all four to each client. <br><br>I figured that using the Komhttpserver package I can easily run a server. <br>
<br>My problem is now is the communication between clients and server.<br>How can I send a value from each client to the server and get back the inputs from all clients? <br><br><br>Thanks a lot<br>Martin<br><br>This is how I run my server. <br>
<br>| ma |<br>
        ma := ModuleAssembly core.<br>
        ma serverRoot: FileDirectory default fullName.<br>
        ma documentRoot: FileDirectory default fullName.<br>
        ma directoryIndex: &#39;index.html index.htm&#39;.<br>
        ma serveFiles.<br>
        (HttpService startOn: 8080 named: &#39;httpd&#39;) plug: ma rootModule