Nom d'utilisateur: Mot de passe:
Enregistrement d'un nouveau membre
Modérateur: rod03801 
 Feature requests

Do you miss something on BrainKing.com and would you like to see it here? Post your request into this board!
If there is a more specific board for the request, (i.e. game rule changes etc) then it should be posted and discussed on that specific board.

For further information about Feature Requests, please visit this link on the Brainking.Info site : http://brainking.info/archives/20-About-feature-requests.html


Messages par page:
Liste des forums de discussions
Vous n'êtes pas autorisé de poster des messages dans ce forum. Le niveau d'adhésion minimal requis pour poster dans ce forum est Cavalier.
Mode: Tout le monde peut poster
Recherche dans les messages:  

11. Août 2011, 04:04:01
Aganju 
Sujet: Really lose on time when you lost on time
Ever had that? I really need to leave, but I have only one hour for my move left in that game, so if I leave, I'll lose. But the opponent does not play either... so I wait and wait... finally, when his clock says -9 minutes, I leave. When I come back, I lost on time - he came, made a move (sitting on -9 minutes!) and won on time. Frustrating.

Now I understand that the timeout demon cannot be run every second (or the CPU would do nothing else), but what about this:
Whenever someone goes to a game page to make his move (and the system knows that he is the user due to move), the remaining time for him is checked, and if it's <= 0, he loses right there.
That would mean that without him opening the game, he could watch the time go to -1, -2, -3 mins, same as now, but he has already lost, the system just did not execute it yet. That would be fairer, and I think easy to do, without producing extra load on the server.

- this is my third idea in so many days; so if I bore you let me know. I thought they are all worthy. -

11. Août 2011, 05:05:38
Thad 
Sujet: Re: Really lose on time when you lost on time
Aganju: It seems to me that BrainKing should never display a game as active if time has expired. I would almost certainly guess that the ending time of the game is what's stored in the database, so, in order to show the game page to a user, the time remaining must be calculated every time the game page is shown to the user. BrainKing should detect when the time remaining is negative and should end the game right then and there rather than show games with negative time remaining and allow users to continue to play in them.

11. Août 2011, 05:13:16
Aganju 
Sujet: Re: Really lose on time when you lost on time
Thad: Agreed. What you describe it slightly more than what I thought; basically whenever any page display finds a negative time, (instead of displaying it,) it triggers 'end the game'; I meant only when the opponent opens it.
I think the latter is less effort to implement, but the former is nicer of course.

11. Août 2011, 07:14:45
grenv 
Sujet: Re: Really lose on time when you lost on time
Aganju: No reason it couldn't timeout whenever *anyone* looks at the game... after all, it has to display the '-9' so it's already figured out the time is run out - the rest is trivial.

11. Août 2011, 09:35:31
Thad 
Sujet: Re: Really lose on time when you lost on time
grenv: I agree. I thought of that half way thru what I had typed up, but didn't feel like changing it. ;-)

The rest might not be trivial if half of the code for the page is already generated, but it wouldn't be too hard to do if done right.

11. Août 2011, 13:03:05
grenv 
Sujet: Re: Really lose on time when you lost on time
Thad: I'm assuming there is already a method called timeout(gameID) or something equivalent... simply a case of calling it when the page loads if timeRemaining(gameID) <= 0

I guess I'm assuming the site is coded reasonably well already.

11. Août 2011, 20:13:19
Thad 
Sujet: Re: Really lose on time when you lost on time
grenv: Do you think that's a good assumption, grenv? ;-)

Date et heure
Amis en ligne
Forums favoris
Associations
Astuce du jour
Copyright © 2002 - 2024 Filip Rachunek, tous droits réservés
Retour en haut