Part of TPG namespace
TPG.SelectRandomGameType()📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Pick the game type for the next round. Called from TPG.Rounds.Setup. Includes a single anti-repeat reroll when the same mode comes up twice running, which halves the odds of a back-to-back repeat without ever forbidding one.
Parameters
No parameters.
Returns
| Type | Description |
|---|---|
number | A `GAMEMODE_*` constant. |
Examples
No examples available.
Used In
No usages found in the codebase.