Skip to content

five-on-it / apps/client/src/ui/run-view

apps/client/src/ui/run-view ​

A run's frame (@foi/protocol's RunMessage) as the end-to-end tests read it from window.__poc().run, without React: the run, its game and mission, how it is played, its phase, the seconds before it starts, the player's seat and team, every seat's state and team, the lives the player has (the team's, or their own; none when unlimited), the retries left, its teams' scores, whether the player is out of it and whom they watch, and once it ended its outcome, its winner (by a forfeit or not), each seat's credit and place; where its results lead back to; who a versus run's winner is to show (a team by its name, or in a free-for-all the player who won); and whom a player out of the run watches (a live teammate, cycled in turn).

Interfaces ​

Functions ​