[Kde-games-devel] Re: Multiplayer in KDE games

Andreas Beckermann b_mann at gmx.de
Tue Dec 16 21:40:14 CET 2003


On Tuesday 16 December 2003 19:22, Neil Stevens wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tuesday December 16, 2003 9:41 am, Andreas Røsdal wrote:
> > On Mon, 15 Dec 2003, Aaron J. Seigo wrote:
> > > On Monday 15 December 2003 08:54, Andreas Røsdal wrote:
> > > > I'd like to add TCP/IP multiplayer support to some of the games in
> > > > the kdegames package. There are several games that could benefit
> > > > from this, such as KSpaceDuel, KTron, KJumpingcube, Konquest. Is
> > > > there any interest in doing this?
> > >
> > > it would be a nice addition, i think. as Mathieu already pointed out,
> > > you may want to look into kgame
> >
> >  Ok, I'll have a look at Kgame, and will send some patches when they are
> > ready. Thanks for the info.
>
> One issue to be aware of: KGame normally will send all game information to
> all players, relying on the client to display what needs to be displayed
> and hide what needs to be hidden.  This is a great design if you want any
> client to be able to take over as server at any time, but it's a problem
> if you want players to be able to keep secrets.

Of course you can do so - easily actually. I think I said that already when 
your initial question on this came up:
simply use PolicyLocal. I.e. register the KGameProperties with PolicyLocal and 
KGame won't send a bit of them.
We do it this way in boson, even though we don't try to keep the data secret.

CU
Andi



More information about the kde-games-devel mailing list