|
LOGIN |
|
| Username, password |
Search for username in database, and checks associated password. |
Sends user to main screen |
|
TOURNAMENT SETUP |
|
| Num Rounds |
Sets number of rounds |
|
| Round Duration |
Converts from integer to milliseconds and stores it as the duration of each round to second precision |
|
| Timeout Duration |
Sets the Idle counter to the timeout duration in milliseconds |
|
| MinAgreement |
Sets the minimum amount of favourable keypresses for a point to be awarded |
|
| MaxDelay |
Sets the maximum delay between first keypress and last tolerable keypress in milliseconds |
|
| Players |
Determines the amount of players and automatically generates a tournament tree for all selected players |
TournamentTree |
| TournamentTree, Options |
Regenerates the tournament tree with the user’s selected options |
|
|
Prompts user confirmation |
Sets all customisation dataDisplays Tournament Control and Scoreboard |
|
TOURNAMENT CONTROL |
|
| RemainingTime |
Alters the Round Counter by multiplying the RemainingTime by 1000 |
Remaining time on scoreboard is updated |
| Red Player |
Verifies data of original red player within Player Record and stores it in TorunamentRecord. Modifies the current player in the match and regenerates the TournamentTree accordingly. |
Red Player’s name on scoreboard is changed |
| Blue Player |
Verifies data of original blue player within Player Record and stores it in TorunamentRecord. Modifies the current player in the match and regenerates the TournamentTree accordingly. |
Blue Player’s name on scoreboard is changed |
| BreakTime |
Alters the Idle Counter when changed and multiplies BreakTime by 1000 |
Break time on the scoreboard is updated |
| RedPoints |
Changes the Points of the Red Player in the Player records |
Red player score is updated on the scoreboard |
| BluePoints |
Changes the Points of the Red Player in the Player records |
Blue Player score is updated on the scoreboard |
| Red Penalties |
Changes the amount of penalties receive in the Red Player’s Player record. |
Shades the penalty boxes of the Red Player on the scoreboard |
| Blue Penalties |
Changes the amount of penalties receive in the Blue Player’s Player record. |
Shades the penalty boxes of the Blue Player on the scoreboard |
| Round Number |
Validates round number and determines if number is a golden point round |
Round Number is updated on scoreboardGolden Point is displayed where round number was on the scoreboard |
| MatchState |
Switches Paused state, and determines whether RemainingTime, BreakTime, BluePoints and RedPoints can be altered |
Greys out RemainingTime, BluePoints and RedPoints if Paused is false, and BreakTime if Paused is trueOnly Round Counter ticks if Paused is falseOnly Idle Counter ticks if Paused is true |
| StopMatch |
Halts all timer controls and allows alteration of RemainingTime, BreakTime, BluePoints and RedPoints. Sets Paused state to true but disables Idle Counter from ticking |
|
| NewMatch |
Resets all data to user-defined customisation. Copies all data from Player Record and stores in TournamentRecord. Uses data from TournamentTree to generate new matchup from the winners of the matches. |
Scoreboard is reset to default state |
| EndTournament |
Asks for confirmation to end tournament. Generates a file with list of participants and data related to the tournament. |
|
|
MEMBER DATABASE + REGISTRATION |
|
| Search Members |
Performs a search for a specific member |
Displays search results |
| Modified Member Data |
Validates user permissions. Modifies selected member data if permission allows for modification. User is then prompted with confirmation and modified data is uploaded to the Database URL |
“Sorry, you do not have permissions to edit this data”“Are you sure you want to make these changes”“Changes have been saved to server” |
| New Member Data |
Creates a new user file and stores all given data. Member is also given a unique Member ID |
“Registration Complete!” |
|
ATTENDANCE + PAYMENTS |
|
| Attendance Data |
Stores attendance data of students and visitors to a specific dojang |
|
| Payment Data |
Stores payment data of students and visitors. Determines when the next payment is due and user is notified when payment from a specific user is due |