Type Alias PlayerIndex

PlayerIndex: ERange<0, typeof MAX_PLAYERS>

The maximum number of players in a game is 6. Thus, the valid player indexes are 0 through 5.