Nume utilizator: Parolã:
Înregistrare utilizator nou
Moderator: Hrqls , coan.net , rod03801 
 BrainKing.com

Board for everybody who is interested in BrainKing itself, its structure, features and future.

If you experience connection or speed problems with BrainKing, please visit Host Tracker and check "BrainKing.com" accessibility from various sites around the world. It may answer whether an issue is caused by BrainKing itself or your local network (or ISP provider).

World Of Chess And Variants (videos from BrainKing): YouTube
Chess blog: LookIntoChess.com


Lista posturilor afişate
Mod: Toatã lumea poate afişa
Cautã între posturi:  

4. Mai 2009, 16:42:36
AbigailII 
Subiectul: Re:
pauloaguia: That's not how I would do it. What I would do is: if one times out on a game, and the player has set that date for a vacation day, or has autovacation set (and still has vacation days set), I'd add 24 hours to the clock on every game the player has running, regardless whether it's his/her turn. Then subtract 1 from his number of vacation days for the year. You only need to do this at most once every 24 hours. After a player moves, check whether his clock is above the max. time that the game setting allows (this may happen after a player was on vacation while it wasn't his move) - and set the clock to the max if over.

The key point is that 24 hours only get added to the clock when the number of vacation days in decreased.

Data şi ora
Prieteni în direct
Jocurile favorite
Frãţiile
Ştirea zilei
Drept de copiere © 2002 - 2025 Filip Rachunek, toate drepturile rezervate.
Înapoi la Început de paginã