Page 1 of 1

Real-time timed phase in a multiactive state: how should it work with BGA's game speeds and player clocks?

Posted: 25 November 2026, 21:34
by MiKelloggs
Hi all,

I'm building the BGA adaptation of Bullet♥ (Level 99 Games). The physical game plays in simultaneous rounds with a hard 3-minute limit. Everyone places bullets and acts at the same time. When time runs out, the bullets a player hasn't placed yet are placed for them. Players who finish early claim a powerup in order of finish time.

How it's implemented

The round is a multiactive state. A table option sets the round timer to Untimed or Normal (3:00). The game has three main scenarios:

Real-time table with the 3:00 timer: after everyone is ready, one shared 3:00 countdown starts for all players. That countdown is my own game timer. At the start of the state I call giveExtraTime with a large value for each player. BGA caps the clock at its maximum, so every player starts the round with a full 3:00 on their BGA clock. Other short phases (hand-limit discards, powerup claims) get the default giveExtraTime, which I think depends on the table speed. This makes things uneven, because players end up with more or less time depending on how many of these short phases they take part in.

Turn-based table with the 3:00 timer: Each player presses "Start my round" and gets their own 3:00, with a 4-second lead-in. The deadline is stored per player.

Untimed: there's no limit. Each player's round runs as a stopwatch from the moment they start it.

In all three modes the server records each player's finish time. Powerups are then claimed quickest first, and exact ties are drawn at random. Timing uses server timestamps, and the clients count down from those. The countdown I draw is separate from BGA's player clock and is labeled differently.

My 3:00 timer runs in parallel with the BGA clock, and I try to start and end the two together. I'm worried about players going negative on their BGA clock and getting kicked, so I refill the clock at the start of each round. This also evens players out who got more or less time during the minor phases.

My questions

Is there a way to make the 3-minute round a real BGA turn timer, instead of running my own in parallel? When a player's clock runs out, I'd want their clock to stop, their remaining bullets placed, and no negative time or kick.

Is calling giveExtraTime with a large value, relying on the cap, a supported way to refill a clock to a full amount? Or is there a proper call to set the clock to a fixed value?

I'm in private alpha, so I haven't been able to test with real players on timed tables. So far I've only tested against myself with dummy Studio accounts, and I don't know how it behaves on Fast, Normal and Slow tables.