Page 1 of 2

Development for Tournaments

Posted: Tue May 28, 2019 12:28 am
by jmo1121109
We have just rolled out one of the largest site changes ever to add Tournaments to the site in an official capacity. If you go to the "Games" section in the menu you will see "Tournaments" which is a new page.

This page will show all Ongoing, Finished, Spectating, Participating, and Open for Registration tournaments on the site. If you're a tournament director or mod you'll also see "Moderating"

Each tournament will be displayed in grey "bubble" with several expandable clickable fields such as "Description" which will have a full detailed explanation of the tournament and it's rules, as well as "Round 1- x" depending on how many rounds of that tournament currently have games going or finished.

The only 1 we've back populated so far is ODC 2019, so you can see the Rounds section shows you a quick overview of every game and it's status. Including whether it's stuck on WFO, and if so, when it should have processed.

You will also see a link to "Search Round 1 games" which will move you to the gamelistings page where you can search with the site's game search through only round 1 ODC 2019 games.

There's another page called "Scoring and Participants" which is a table view of every player who's played in one of the ODC games, and their score. This will have to be populated by a mod or TD when the round finishes. But the display should make it easy for them to populate the data.

TD's now automatically get "Game Director" powers over every game in their tournament so they won't have to have mod status and if they post in the global chat of a game it will show as "Tournament Director" instead of "Moderator"

Everyone in the ODC will see a "My Tournaments" bubble on your home page in the bottom right below spectated games with a link to the ODC tournament info.

Everyone else can spectate the tournament which puts the same bubble on your display. Clicking the icon to the right of "My tournaments" or "Spectated Tournaments" will take you to the tournaments page and show you the tab for your participating or spectated games.

There's a lot more coming for this feature, such as showing 1st, 2nd, and 3rd place winners on the Finished tournament tab, and showing on your profile if you win a tournament.

We're also going to integrate signing up for tournaments into the site with a way for TD's to approve or reject each applicant.

If you have questions please let us know below.

This was a joint effort between myself and squigs44, who did the scoring page, the changes to game search, and the TD powers. A big thanks to him for all his help on this!

Re: Development for Tournaments

Posted: Tue May 28, 2019 1:16 am
by Squigs44
If you couldn't tell from jmo's message, this was a lot of work and we are both super excited about how this is going to change things on the site. As always with big changes like this, let us know if you encounter any bugs, questions about how to use these new tools, or if you have ideas on how we can improve this.

Re: Development for Tournaments

Posted: Tue May 28, 2019 1:17 am
by Alcove
Incredible update, and a huge boon to the online competitive Diplomacy tournament scene. Thanks jmo and squigs!

Re: Development for Tournaments

Posted: Tue May 28, 2019 1:20 am
by jmo1121109
Alcove wrote:
Tue May 28, 2019 1:17 am
Incredible update, and a huge boon to the online competitive Diplomacy tournament scene. Thanks jmo and squigs!
What's especially fun is I designed this with the capacity to enter F2F tournaments and easily link to their scoring results externally. So we can keep a record of any ongoing tournament and show if webdippers placed in the top 3. We'll start filling in some back tournaments too, but not all since tournament data has been recorded since 1974(?) and that's too much work to import lol.

Re: Development for Tournaments

Posted: Tue May 28, 2019 2:11 am
by Durga
This is AWESOME!! Good work you two

Re: Development for Tournaments

Posted: Tue May 28, 2019 5:52 pm
by Peregrine Falcon
You two are amazing! You deserve all the plus ones. Maybe post a few more times so we can give you more.

Re: Development for Tournaments

Posted: Tue May 28, 2019 6:57 pm
by Squigs44
Peregrine Falcon wrote:
Tue May 28, 2019 5:52 pm
You two are amazing! You deserve all the plus ones. Maybe post a few more times so we can give you more.
What's that? You want me to do MORE work by posting more?

Re: Development for Tournaments

Posted: Tue May 28, 2019 8:24 pm
by Claesar
For me the most important thing here is that we can now accept almost anyone as a TD. Before we preferred (ex-)mods, but now we can be more liberal.

Re: Development for Tournaments

Posted: Tue May 28, 2019 10:55 pm
by SpaceDip
This is really good news :)

Re: Development for Tournaments

Posted: Wed May 29, 2019 3:15 am
by goldfinger0303
Claesar wrote:
Tue May 28, 2019 8:24 pm
For me the most important thing here is that we can now accept almost anyone as a TD. Before we preferred (ex-)mods, but now we can be more liberal.
Wait, am I out of a job now?

Re: Development for Tournaments

Posted: Wed May 29, 2019 4:46 am
by jmo1121109
goldfinger0303 wrote:
Wed May 29, 2019 3:15 am
Claesar wrote:
Tue May 28, 2019 8:24 pm
For me the most important thing here is that we can now accept almost anyone as a TD. Before we preferred (ex-)mods, but now we can be more liberal.
Wait, am I out of a job now?
Lol you wish, you're the best sucker...er I mean eager volunteer...we have to run tournaments.

Re: Development for Tournaments

Posted: Wed May 29, 2019 4:49 am
by jmo1121109
Also, thanks everyone for giving me a better then 2 to 1 karma to post ratio with this thread. I gotta figure out how to trade karma in for some good :oil:

Re: Development for Tournaments

Posted: Tue Jun 04, 2019 5:03 pm
by mhsmith0
btw is it possible to have the tournaments dropdown show winner (or "winners" if there's a LOT of space to be had) under the list of each round? There might be some space to be had by cutting down "process time" to just showing day instead of full timestamp...

Re: Development for Tournaments

Posted: Tue Jun 04, 2019 6:36 pm
by jmo1121109
mhsmith0 wrote:
Tue Jun 04, 2019 5:03 pm
btw is it possible to have the tournaments dropdown show winner (or "winners" if there's a LOT of space to be had) under the list of each round? There might be some space to be had by cutting down "process time" to just showing day instead of full timestamp...
The process time needs to show the full time for TD's since that's the only spot they can see all tournament games and if they're stuck on WFO and if so, when they should have processed right now. I'll think about how we could show who won/drew though.

Re: Development for Tournaments

Posted: Tue Jun 04, 2019 9:12 pm
by VillageIdiot
We need to get the World Cup results up on the completed tab. I thirst for more recognition of past glory!

Re: Development for Tournaments

Posted: Tue Jun 04, 2019 9:25 pm
by jmo1121109
World Cup is unfortunately difficult to show due to it being a team tournament. I'll have a solution worked out before the next world cup, but for now I don't have a way of displaying teams.

Re: Development for Tournaments

Posted: Tue Jun 04, 2019 11:49 pm
by VillageIdiot
Can't just do..?

First Place:
Name, Name, Name, Name, Name

Second Place:
Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name, Name...

Third Place:
Name, Name, Name, Name, Name

(that second place example represents Greatest Lakes team with their 39 rotating subs)

Re: Development for Tournaments

Posted: Wed Jun 05, 2019 12:08 am
by jmo1121109
Nope, the tables are designed to hold int's which are userID's and the site then reads a single one back out and spits it into a link. Trying to insert a string like that would be a nice error on page load.

Re: Development for Tournaments

Posted: Wed Jun 05, 2019 6:02 am
by VillageIdiot
Sounds unnecessarily complex for a block that could simply be vanilla HTML content, no?

Re: Development for Tournaments

Posted: Thu Jun 06, 2019 3:29 am
by Squigs44
VillageIdiot wrote:
Wed Jun 05, 2019 6:02 am
Sounds unnecessarily complex for a block that could simply be vanilla HTML content, no?
How is using a single number that will automatically link to all the other information we need more complex than typing out the entire HTML content everytime?

We'll get something worked out though for sure.