[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] AppState-0.1 released



On Thu, Sep 25, 2008 at 12:03 PM, Horst JENS <horst.jens@xxxxxxxxx> wrote:
> sounds interesting.
> Do i understand this right:
> all players need to have an valid google account to "join" ?
> Only the creator of the game will be asked to write his google account
> passwort inside python code ?
>
>
> I think about doing a global highscore list for a pygame game with your
> code.

The creator of the app needs a Google account to register the app with
the server.  Depending on which security options you select, you can
require users to have accounts or not.

For example, you might choose to let anyone read high scores, but only
people logged in can change the high scores.  If that is the security
model then your application might start, let the player play the game,
and show the existing high scores.  If the player gets a new high
score, then the app could ask for their google username and password
and use that to log in and update the high score table.

Alternatively you could turn off the account requirement entirely.
That way users would not have to have accounts.  The only issue there
is that if someone "hacks" your application you can't do anything to
stop them.  If you require accounts then if someone causes trouble you
can ban their account.

I should also say that you don't have to hard-code account emails and
passwords into the application.  They can be stored in a file, or
typed every time the program is run, etc.
--
Nathan