There are libraries out there that give you distinct colors. Please take one of those and apply it in a way that the second player that registers gets a maximally distinct color from the first one, the third should get another maximally distinct color, and so on.
There are libraries out there that give you distinct colors. Please take one of those and apply it in a way that the second player that registers gets a maximally distinct color from the first one, the third should get another maximally distinct color, and so on.