Hi all,

The 'config' branch of libtpproto-py is pushed and the admin
functionality is mostly complete (notable exception: sending commands
may need work).

I now plan to add a GUI single-player game wizard to tpclient-pywx
which will allow the player to select an installed server, a ruleset
for that server, an installed AI client compatible with that ruleset,
and options for all three, then automatically configure the server and
AI client(s) accordingly. My thoughts on how to approach this follow.

First, a client needs some way to detect which servers, rulesets, and
AI clients are installed, as well as how to start and stop them. Each
such package could drop a small XML file in a common /usr/share type
directory where the client (or a client library, such as
libtpclient-py) would look for them. As for actually starting and
stopping them, I am not sure what the best approach would be. Perhaps
having them also provide scripts with a common interface (like init
scripts) with common important configuration options (such as what
port to listen on / connect to) would be appropriate? If this all
sounds good, I can spec out what I need so that the server/ruleset/AI
developers can easily add support for it.

Second, the client needs a way to manage the server on a continued
basis once it's been started. This mainly consists of setting up an
admin connection and sending a variety of command frames to the
server. A good place to have this, I believe, is in libtpclient-py, so
that right away the functionality is available to any Python client
(for example, the new pyogre client). Thoughts?

Third, though this may be out of GSoC scope, I would like to provide a
way to save and load games from the single-player interface as well.
This shouldn't be too much work once the first two parts are complete.

All comments and suggestions are appreciated. As this part of the
project involves pretty much everyone, I'd like to get input from as
many of you as possible.

Thanks.

-- 
Aaron Mavrinac
www.mavrinac.com

PGP Public Key: http://www.mavrinac.com/pgp.asc
_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to