• Resolved jhund

    (@jhund)


    Hi there – I was hoping to get in touch with someone on Slack, but also will try posting here to see if anyone has an idea for me. I want to move forward with purchasing a premium license, but before doing so I want to confirm the tool will be useful for me longer term. If I have to buy a license to hear back on this, let me know.

    I’m helping create a site for a small Tetris game community that runs a league style season of games. However, I can’t quite figure out the best way to represent the exact scenario and requirements within SportsPress without either introducing a bunch of complexity or loss of good functionality.

    Here is how the league works in a general sense, ignoring some finer details:

    – There are 8 teams
    – Each team has 10-12 players with different ranks
    – There are multiple “matches” throughout the season, whereby one team plays against another
    – In a match, 3-5 players (usually 4) from each team (let’s say Team A and B) play against each other. So Player A1 will play Player B1 in a best of 5, Player A2 vs Player B2, etc.
    – Teams receive “points” for the number of individual “Best of 5” individual matches won

    I know SportsPress has a setting between “team vs team” or “player vs player”, but this is a unique situation where it’s actually both.

    The best way I’ve figured out to accomplish this is to essentially have “Game 1”, “Game 2″… “Game 5” player performance “score” variables and a “wins” variable. So basically these score variables can be used to capture each player’s score performance for up to the max number of possible games which is 5. Then the “win” variable is manually used to represent who won the individual game. Then for “event results” I have a total “points” variable that counts up the “wins”.

    While this “works”, it has key disadvantages:

    – It has a lot of manual work involved
    – It is visually confusing to look at the individual player match outcomes
    – Statistics are not really possible, for example the “average score” for a player is not possible because there is not a guaranteed constant number of games per event (so can’t do Game 1 + Game 2 + Game 3 + Game 4 + Game 5 / 5 because they might only play 3 games). We want to have good player stats, so this setup will not be capturing things well.
    – It feels very against the grain in general, and there are probably other caveats I’m not even seeing yet

    Sorry for the long post here, but I’m hoping someone can point me in a better direction, give me guidance on how I can modify the code myself, or otherwise weigh in somehow before I invest a lot more time. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi there @jhund ,

    I am sure there could be an easier configuration for your league, but for pre-sales questions it is better to come in contact directly with our premium support at https://support.themeboy.com/

    Thanks,
    Savvas

    Plugin Contributor Roch

    (@rochesterj)

    Hi @jhund!

    Thanks for reaching out.

    Since this is a setup question, let me help you here.

    This is the most important part for us:
    “– In a match, 3-5 players (usually 4) from each team (let’s say Team A and B) play against each other. So Player A1 will play Player B1 in a best of 5, Player A2 vs Player B2, etc.
    – Teams receive “points” for the number of individual “Best of 5” individual matches won”

    Do you have a current example? Maybe a different site, or even what you are using right now (you can upload a screenshot / photo of it to an image sharing service and send the link here).

    What is confusing right now is how these team points are used. So 2 teams go against each other in 3-5 Bo5 matches. Then what? Is there a league table? Do they get points only if they win the overall event?

    By your description, it looks like you need a “loss” player performance field, in addition to the wins, which would allow you to calculate the averages (if there are no ties).

    The visual aspect can be improved with a custom theme. But you’ll probably need to hire a developer to do that for you.

    As for the manual work, can you clarify? You do have a lot of data, so you need to add this to SportsPress. But if you have data entries duplicated, maybe it’s something we can fix in your setup.

    Thanks!

    Thread Starter jhund

    (@jhund)

    Hi Roch – thank you for your reply. Sorry for confusion on how to get in touch, I basically was saying that I am willing to buy the premium license if I can confirm that I can get in touch with someone with information here on whether or not this plugin will work.

    Yes the current site this organization is using is here, but it is very temperamental and does not always load well (I’m trying to help them get situated with something new that works!). https://www.tetrisgauntlet.com/

    Here are some screens of what the current site shows:

    Match detail: https://jhund-public.s3.amazonaws.com/match_detail_2.png
    Game detail: https://jhund-public.s3.amazonaws.com/game_detail_2.png
    Match list: https://jhund-public.s3.amazonaws.com/matches.png
    Player standings: https://jhund-public.s3.amazonaws.com/player_standings.png
    Player details: https://jhund-public.s3.amazonaws.com/player_details.png
    Team standings: https://jhund-public.s3.amazonaws.com/team_standings.png
    Team details: https://jhund-public.s3.amazonaws.com/team_page.png

    To answer your questions and clarify:

    Each individual event results in one of the teams “winning” the individual event. So for example, in Match Detail above, Team One received 2 points because the players on that team collectively won two sets. Team Two won 2 sets, and also won the tiebreak set. Therefore Team 2 “Won” this individual event. (There is also some kind of wagering functionality that can happen for the last set for a chance for the player to win two points in exchange for going down a game, but I’ll ignore that for now).

    Game detail shows what happens in a set for the two players. In the example, Player 1 won games 1, 2 and 5 with a higher score. (The transition value is an ancillary value that is used for statistics only and not always provided).

    Match list shows a list of all recent matches.

    Player standings shows a list for individual players, indicating their records for sets, individual games, and sudden death encounters.

    Player details shows more stats for the player. I’m okay if we can’t fully get all of this info, but average score is a big one.

    Team standings shows overall team league standings for the season.

    Team details shows team statistics based on the player performance.

    The manual work I’m referring to is shown here: https://jhund-public.s3.amazonaws.com/sportspress_event_example.png

    So the person entering the match has to basically map out Games 1-5 (there can be up to 5 games since it’s a BO5) and then manually enter whether or not it is a Win for that player. Same situation for sudden death (half a point for these).

    I am unsure how adding a loss for a player would resolve an issue for averaging individual scores. The issue is just that there is no way to know if all 5 games are played. If that was known, I assume I can just add Games 1-5 and divide by 5. Maybe I will need to write a custom function for this.

    For the visual issue, I am a developer. But before I go deep into figuring out if I can visually stitch together a better view to show individual head to head games, I wanted to make sure I am not missing a better structure for the data.

    I appreciate the help and sorry for all of the information. I am happy to pay something if we can end up getting something working. Thanks.

    Thread Starter jhund

    (@jhund)

    Hi @rochesterj , just seeing if any follow up on the above before I go forward. Thanks.

    Thread Starter jhund

    (@jhund)

    Hi – still interested in feedback. To update you on other things I have tried….

    I am exploring the idea of having every single individual game be an individual event. For example this setup….

    One team vs team event placeholder to act as the “main event”.

    One event per individual game. So if there are 3 sets of games with one player from each team, where each set is a best of 5, this could mean anywhere between 9 and 15 individual events.

    This solves the majority of the issues with accurate statistics. However, it introduces a couple of other issues for which I am curious for advice:

    1) Manual entry is too tedious for this. I have explored using the Event Importer. However, it does not work for player vs. player matches (https://wordpress.org/support/topic/import-individual-player-vs-player-matches-bugs/). However, maybe I am fine with just importing as Team vs. Team matches?

    1) This means that there is no clear way to indicate the overall main event winner. To account for this, I have added a redundant event result value called “Match Win”. This value I would imagine could be set just on those main events to indicate which team won the main event. But… this feels weird and may have some caveats? Anything better I can do for that? The main issue is that the main event does not know about which individual events are associated to it…

    2) Bigger issue that I do not have a workaround for: do you have a suggestion for how I can have a *concise* summary of the individual best of 5 sets on the team vs team event page? I know that there are short codes available, but none of them present the information that would be ideal. What I would really want is something like this:

    “Team 1 vs Team 2”
    “Overall Outcome: 2 – 1 (2 sets won by Team 1)”
    Set 1:
    Player A (Team 1) vs. Player B (Team 2): 3 – 1

    Set 2:
    Player A2 (Team 1) vs. Player B2 (Team 2): 3 – 2

    Set 3:
    Player A3 (Team 1) vs. Player B3 (Team 2): 0 – 3

    I can modify code if you can point me in the right direction for what I might be able to modify to get a display like this. I will also reiterate that if I can get additional guidance/support by paying I am happy to do so, but I don’t want to pay and still be stuck.

    Thanks.

    Plugin Contributor Roch

    (@rochesterj)

    Hey @jhund

    I’m sorry for the delay on this one.

    To be honest, it got a bit too long to process.

    Maybe we can break it down into smaller chunks?

    As for your remaining points:
    1) Indeed, the player vs player importer won’t work as expected. We do have this in our roadmap, but I can’t promise when it will be implemented.

    2) I’m not sure if I get this one. Maybe we can explore it in a new topic.

    3) You’ll need some custom code for this one. You could use the event_results shortcode (wp-content/plugins/sportspress/templates/event-results.php) as a starting point. But instead of just loading the main result you can load other fields, or you can load multiple events depending on your setup.

    Thanks!

    Hi, I’m looking for a similar feature. We do team matches but the matchup are individuals from each team playing 1v1 and which ever team wins the most matchups is the overall winner.

    Currently I’ve added a “player performance” text box called Opponent for tracking purposes but its very basic. It would be great of one of the options in the player performance configuration section was a drop down to select player from opposite team. That way both the results can be tracked long term.

    Plugin Contributor Roch

    (@rochesterj)

    Hi there!

    Thanks for reaching out.

    Please kindly open a new topic and we can discuss this.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Teams with Player Matches Config’ is closed to new replies.