Логин: Пароль:
Регистрация нового пользователя
Модератор: 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


Список форумов
Режим: Каждый может объявить
Поиск в сообщениях:  

4. Мая 2009, 16:42:36
AbigailII 
Субъект: 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.

Дата и время
Друзья в сети
Любимые форумы
Клубы
Советы
Копирайт © 2002 - 2024 Филип Рахунек, все права зарезервированы.
Наверх