<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 2009-06-05 08:56, Martin Bleichner wrote:
<blockquote
 cite="mid:c65b7a720906042356l596b846alffb51e02a91f5a64@mail.gmail.com"
 type="cite">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: 'index.html index.htm'.<br>
ma serveFiles.<br>
(HttpService startOn: 8080 named: 'httpd') plug: ma rootModule
  <pre wrap="">
<hr width="90%" size="4">
_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
  </pre>
</blockquote>
Here are some pointers to other network games/ stuff<br>
<br>
<a class="moz-txt-link-freetext" href="http://swikis.ddo.jp/NetMorph/17">http://swikis.ddo.jp/NetMorph/17</a><br>
<br>
<a class="moz-txt-link-freetext" href="http://www.jvuletich.org/Squeak/Scrabble/ScrabbleEng.html">http://www.jvuletich.org/Squeak/Scrabble/ScrabbleEng.html</a><br>
<br>
Karl<br>
<br>
<br>
</body>
</html>