Clock management

Game development with Board Game Arena Studio
Post Reply
User avatar
semeno
Posts: 5
Joined: 21 May 2013, 14:48

Clock management

Post by semeno »

Hi,

I'm working on a game where the game end is not driven by the number of turns or any ending condition. It is just a total number of minutes played. And to make it more complex, each player's turn is also capped to a maximum. More quickly they play, more turns they will have...

So my game needs a specific clock management. I didn't see so much about it in the documentation, except the giveExtraTime function, and a little bit in the database (player_remaining_reflexion_time). So I have a couple of questions on this topic:
- How do we access to the game speed information chosen by the players (fast, normal, slow) ? Any API which I may not have seen?
- How do we configure the initial time available per player ? and the time max per turn per player (red bar) ?
- Is there any event generated when the red bar is full which we could use to make a state transition ?

Thanks a lot for your help!
Post Reply

Return to “Developers”