-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
The tournament system allows the organizers of the site to set up and run tournaments that the users or teams of users on the site can sign up for. An organizer can specify the start time and date for the tournament, which will automatically cut off entries and generate a bracket. Event organizers can then administer the tournament from the tournament's page, using an easy system to specify the outcome of the current matchup in the bracket.
Also, although this is a stretch goal for this site, it should be possible to add a url for a twitch stream for the tournament.
From the user side of the site, they will see the current bracket after searching the tournaments, the current matchup, and the next matchup, and the twitch stream if there is one.
If the tournament is a team tournament, only team leaders should be able to sign up for it and leave the tournament.
Acceptance Criteria
- If an administrator creates a tournament in the past, display an error
- If an administrator creates a tournament with the necessary information, create the tournament and list it on the site
- If a user views the tournament page, show a join button if it is before the start of the tournament.
- If the user views the tournament page after the tournament has started, show the bracket, the current and next matchup, and the stream if there is one.
- If a user or team leaves a tournament before the tournament ends, automatically remove them and disqualify them from their matches.
- If a team is disbanded, remove them from any upcoming matches.
- If it is a team tournament, only the team leader should be able to join the tournament or leave the tournament for the team.