Skip to content

five-on-it / apps/client/src/ui/team-colors

apps/client/src/ui/team-colors ​

The colours of a run's teams (GAME_DESIGN §13): each team its own, far apart in hue and readable on the minimap's ground and on the run's roster, by the team's place among the run's teams (the mission's order), so both sides see the same colours. In a run of teams (two or more of them on its roster: a versus run), every player's markers on the minimap wear their team's colour, the teammates and the rivals told apart from above; a co-op run (one team) and the open city keep the players' own colours. No React, no Babylon.

Variables ​

Functions ​