[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] [OT] Preventing cheating in multiplayer games



On Sat, Jan 04, 2003 at 11:59:05PM -0500, Joel Ricker wrote:
> 
> 	A bit off topic but I have a question regarding security for my
> python/pygame created game and I thought maybe there might be a few
> people here with some ideas.
> 
>  	The project I have in mind would be a multiplayer card game
> engine that allowed two or more people to play different card games
> together online.  The problem that I forsee though is that if this is
> written in Python, then anyone could modify the source to cheat to allow
> them to look at the deck or to other players cards. 
[snip...]
> 	Any other thoughts?

The correct solution is to not give the clients that information in
the first place. Then, no matter what code they're using, they can't
access the information. Obviously, this requires a trusted third party
-- i.e., a server separate from the players that handles all game
logic, with the clients only sending requests for action to the
server.

There's a _lot_ of research/information about this out there, google
should help.

-- 
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+     http://twistedmatrix.com/users/radix.twistd/
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org