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

Neil Stevens neil at hakubi.us
Tue Dec 16 21:43:47 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday December 16, 2003 12:40 pm, Andreas Beckermann wrote:
> 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.

No, that doesn't work because it's the server that has to generate various 
random numbers, like cards in a poker game.  Having the client generate 
them and use them locally won't work.

I remember our discussion, but just got overextended and had to stop.

In any case, if your idea does work and I was misunderstanding you, then 
that's great news.

- -- 
Neil Stevens - neil at hakubi.us
"Any person or government that supports, protects, or harbors terrorists
is complicit in the murder of the innocent and will be held to account."
 -- Vice President Richard B. Cheney
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/326Df7mnligQOmERAjPcAJ9jxVFBFxZDRqwhX5oqFzzLaT06dQCffFK7
NSceXMxM1H/VS3uH3nLni9Q=
=19qb
-----END PGP SIGNATURE-----



More information about the kde-games-devel mailing list