Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem

round.Round

A round in progress, from start.

Signals

round.started: types.Signal<{ types.Player }>
#
read only

Fires once the countdown ends, with the players in the round.

round.timedOut: types.Signal<>
#
read only

Fires when duration runs out before the round finished.

Fields

round.state: round.State
#
read only

Where the round is now.

Methods

round:elapsed() -> number
#

Seconds since the round started; 0 before it has.

round:finish(result: round.Result)
#

Ends the round once: shows the result, then sends everyone home.