Přihlašovací jméno: Heslo:
Registrace nového uživatele
Moderátor: 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


Seznam diskusních klubů
Mód: Každý může psát
Hledat v příspěvcích:  

4. května 2009, 16:42:36
AbigailII 
Subjekt: 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.

Datum a čas
Přátelé on-line
Oblíbené kluby
Společenstva
Tip dne
Copyright © 2002 - 2024 Filip Rachůnek, všechna práva vyhrazena.
Zpět na vrchol