You are browsing as a guest. Sign up (or log in) to start making projects!

4h 7m 4s logged

I’m getting back to work on tournaments (from my 3 break of working on this project)

I talked to some of the old DRL devs/the Community, and even got this video of one of the DRL Community tournaments. This allowed me to make a plan:

48 people can register and that will be cut down into either 24, 12, or 6 depending on how many people there are.
if under 6 people have registered, it just does the finals basically and they all have a face off.
if there is only 1 person registered, the whole thing gets marked as failed and that tournament gets called off.

As it is right now I have a bit of an auto system in place

if tournament.register_end >= now the tournament status auto goes to idle, and if the tournament isn’t full it opens up to registration.

if the tournament is marked as idle and tournament.register_end <= now registration is auto closed and the status is moved to active.

if the tournament is marked as active but has less than 2 players it’s marked as failed.

I also created function createTournamentRounds which takes in the tournament data, player Count, and the tournament Type. It’s only set up for tournamentType === "DRL" at the moment tho.

It creates all the rounds (3 if 12 person tournament, 4 if 24 person) and sets QUALIFIERS to active.

It still needs to create matches and save the rounds tho

ALSO LOOK AT THOSE STATS!!!!!! (last 2 imgs)

0
6

Comments 0

No comments yet. Be the first!