Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

MatchScreen

MatchScreen(props): Element | null

Opens over the match once it has ended: the level in a game with levels, a title and text for its outcome a game can replace, the score where the match has a score to win, each side’s in a match of teams, the reader’s first, and, for a queue-less match, a button under the pane that starts the match again, beside any of the game’s own: a queued match resets itself after its results. Draws nothing until the match ends. It titles a defeat “Defeat”, and “Out of time” where the match ran out of time; a game that names its own reasons, such as a forfeit, reads the reason from useMatch() and passes its own defeatTitle.

Parameter Type
props MatchScreenProps

Element | null