fg123 / lumen-astrum-js

A territory capturing game for 4 players.
https://lumen-astrum.felixguo.me
5 stars 0 forks source link

Switch to using UserID instead of usernames #79

Closed fg123 closed 4 years ago

fg123 commented 4 years ago

Since usernames can now be changed, each user should be associated with a set ID that cannot be changed, and server should be using id to manage queues, as well as game-states should use the player id instead of player username for all game operations.

This will lead to cleaner implementations for replays as well as stat-tracking as well.