GrapeSodaGames / Multiplayer

0 stars 0 forks source link

Limit player colors to not white and not black #158

Closed zaphodb2002 closed 3 weeks ago

zaphodb2002 commented 1 month ago

So this happens in GameState.set_up_local_player(), which is called in GameState.host_game() and GameState.join_game(). This is a remnant of the "LocalPlayer" concept, which was removed whenever it was that we did the multiplayer rework. #142 I think. It seems to me that this logic should be part of the PlayerList functionality.

zaphodb2002 commented 3 weeks ago

Okay so I've put some limits on the color randomization so that we'll avoid low values and very low saturations.