Matches View #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the matches view Admins and Game admins are able to manage status of both matches, and rounds.
This view will show match list, match details, and a list of rounds in a selected match.
The match details view should show scores of the associated teams via the TeamParticipant association, list of players from all associated teams, and also include buttons to start the match, and mark winners for the ongoing round.
When a match is waiting, only the start button should be visible, with the remaining buttons hidden.
When a match is ongoing only the buttons for marking individual teams as winner should be visible.
When a match is finished, none of the buttons should be visible.
The start button should create the first round.
The mark as winner buttons should increment the score for the correct team, and either mark the match as finished, or create a new round - depending on the ruleset in use.
Double-clicking a player in the list of players should check said player in - creating a playerparticipant for the current round.
The admin should have full access to view, edit and delete matches.
The game admin should only be able to use the start/mark as winner buttons, and check in players via double-click.