Use of the Enumeration class is removed. It is superseded by the more modern approach of using for-each loops which are more concise to read and don't pollute variable scopes.
Single player quick start now works
Before
After
The server no longer has a busy-wait main loop, instead using a BlockingQueue, with which it can simply wait until it receives any events and then react accordingly. This saves resources and simplifies the server logic.
Players now have ranking icon next to their names in lobbies. This was done by creating each player as registered when they sign in. I also adjusted the default ranking for players to be more sensible at 0 instead of 10000. See the little green plus next to the player name in the below picture.
This PR contains the following changes:
Enumeration
class is removed. It is superseded by the more modern approach of using for-each loops which are more concise to read and don't pollute variable scopes.