Skip to content

five-on-it / apps/client/src/ui/Run

apps/client/src/ui/Run ​

A run's room (TECHNICAL_SPECS §9.5) in the overlay, from the server's run frames: while it gathers its seats, how many are in and how long it still waits; the countdown, big, while every car is held; live, the lives left (the team's, or the player's own) and the retries; in a run of teams (versus) the scoreboard (each team's name in its colour, its score, its lives left when they are the team's, crossed out once nobody of it is left, the player's own marked) and the roster in the teams' colours, each with their Respect tier; a player out of the run is told whom they watch and how to watch the next (Space); and once it ended, the results: complete, failed or abandoned, won by a team (or in a free-for-all a player; by a forfeit) or a draw, how long it took, each seat's part (its team, its place in a race between the players, its credit, how often it went down, whether it left early), why it pays nothing when a debug command was honoured in it (#run-debug), and a way back to the game's page (to the lobby, for a run a lobby opened: run-view.ts' runBackHref). The ids and data attributes are the end-to-end tests' contract.

Interfaces ​

Functions ​