ThaNightHawk / TournamentTools

The public repository of the tournament tool developed by @ThaNightHawk - Trello: https://trello.com/b/pEQivTx2/tournamenttools-updates-bugs-more | Discord: https://discord.gg/RHegrVXqWX
GNU General Public License v3.0
5 stars 7 forks source link

Matchcreation + Multiple on-going matches #2

Closed ThaNightHawk closed 1 year ago

ThaNightHawk commented 2 years ago

What:

Why:

Because right now, the backend is horribly set up, and only allows for one ongoing match, which can cause problems for multiple on-going matches.

How:

The backend will be rewritten to handle arrays, where current matches will be stored:

{
    "matches": [{
        "1": {
            "matchid": "1",
            "players": ["76561198086326146", "76561198086326146"],
            "coordinator": "Hawk",
            "round": "1",
            "currentMap": "Unpleasant Sonata",
            "currentMapHash": "6423F3A3429D503FA97A1C5282155436D12A9366",
            "currentMapDiff": "Easy"
        },
        "2": {
            "matchid": "2",
            "players": ["76561198086326146", "76561198086326146"],
            "coordinator": "Hawk",
            "round": "3",
            "currentMap": "Unpleasant Sonata",
            "currentMapHash": "6423F3A3429D503FA97A1C5282155436D12A9366",
            "currentMapDiff": "Easy"
        }
    }]
}

and so on.

This will allow for multiple matches to be ran at the same time, without coordinators interfering with eachother and the auto-map function.

ETA: No idea, a bit pressed on time because of life.

ThaNightHawk commented 2 years ago

Matchcreation + Multiple matches

ThaNightHawk commented 1 year ago

82b3af3

Slowly started implementing match-handling outside of TAUI, into the newly created beta-branch.

Beta-branch is for testing potential features that I want to implement. People using beta-branch is not eligible for receiving support if anything breaks, unless I feel like it.

ThaNightHawk commented 1 year ago

Parking this for now - Not really maintaining TTools anymore because of school and other project.