Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Layered Communication (was Client scripting)
Home

[Freeciv-Dev] Layered Communication (was Client scripting)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Layered Communication (was Client scripting)
From: 蔡恆華 <iquin@xxxxxxxxxx>
Date: Sun, 28 Jan 2001 20:38:59 -0500 (EST)

>      GUI client <-> agent <--- internet ---> server core

user -> GUI -> scripts -> text to binary -> socket -> internet
-> socket -> security -> authentication -> binary to text
-> rule check -> save game -> game engine

For a solitare game, it reduces to:

user -> GUI -> scripts -> pipe -> save game -> game engine


If game engine is a child process of the server,
you can replay a game by invoking it as:
sh -c 'tee -a savegame | cat -u savegame - | engine'
if you set the random seeds.

Regards,
I.Q.
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Layered Communication (was Client scripting), 蔡恆華 <=