software-challenge / backend

Server, Client und Spiel-Plugins der Software-Challenge Germany
https://www.software-challenge.de
11 stars 10 forks source link

Split up the responsibilities of the LobbyClient #398

Closed xeruf closed 3 years ago

xeruf commented 3 years ago

This is the first part, which will only tackle the server/gui-side with the AdminClient. Thus this feature may still be released in the current season. It provides a polished interface where listening and controlling is cleanly separated, and requests have appropriate preconditions (LobbyClient yields an AdminClient upon authentication).

The old Java RequestTest will also have to be retired along the way, but I'm a bit worried that the new tests don't yet replace it fully.

I already have an idea of how to make this compatible with the PlayerClient, but that will have to wait.

Based on #396, so don't be overwhelmed by the changelist.

xeruf commented 3 years ago

Merged in 88fb5984438e65793a1495c6185afddd2b34fe16