• Resolved bwreilly00

    (@bwreilly00)


    Requirement: Use Sportspress to manage our BocceBall league

    BocceBall: The game consists of 2 teams with 4 players on each team. The game is played until one of the teams scores 10 points (They are then the winners of the game). That team then gets a point for winning the game and the team that lost gets no points. Each game is schedule to play once a week (or twice a week) depending on how the schedule is set up.

    But, this is where it gets interesting. Each game consists of 2 different matches. (Separate games). The first game is played and the winner gets one point in the standings. The second game is played and the winner gets a point n the standings. There are only 3 outcomes for a schedule game.

    ? Team “A” gets 2 points and Team “B” gets 0 points.
    ? Team “A” gets 1 point and Team “B” gets 1 point (a tie)
    ? Team “A” gets 0 points and Team “B” gets 2 points

    We are not concerned with the scores of the games; only, that if they win the game they get a point. Like a baseball game or football game. The score determines who won the game and then in the standings they get a point for the win and the standings determines 1st, 2nd, etc. place.

    Our game setup is that the teams show up at the scheduled time and play 2 games. (Like a double header in baseball). The winning team gets a point for each game played.
    I am trying to set up standings that give a team a point for a win and no points for a loss for each game that they play and the league table shows games played, games won, games lost and games behind.

    I have thought about creating 2 separate events for each scheduled game to bypass the anomaly of each game actually being 2 games. But, do not want the calendar to show 2 games for the scheduled data of the game. (The teams know that when they are scheduled that they will play 2 games). Was reading the online documentation regarding using points instead of scores; but, do not know how to do that. Also, I thought about only using the adjustment feature to enter all the information; but would like to use the features of Sportpress – not a workaround.

    What do you recommend as an approach for me to allow the entering of information and creating a league table that shows the standings for the teams with a point for each game that they win (note: 2 games are played each time a game is played and they receive a point for each win)

Viewing 12 replies - 1 through 12 (of 12 total)
  • Roch

    (@rochesterj)

    Hi!

    Thanks for reaching out and for your detailed explanation.

    In your case, I believe the best option would be adding the two games as one event.

    What you need to do is to just use 2 sets of event outcomes. So instead of win/loss, you’ll have:
    1st game score
    2nd game score
    Final Score

    This is very similar to a soccer setup, where you have 2 halves of a match, but in your case, each half is limited to one point.

    Then your final outcome is win/draw/loss (based on the final score) and it awards 2 points for a win, 1 for a draw, zero for a loss.

    Let me know if that works for you, and what are your thoughts.

    Thanks!

    Thread Starter bwreilly00

    (@bwreilly00)

    Deleted all my Configuration setups and added the following.

    Event Outcomes:
    ? Title – First Game score
    ? Variable autopoped to firstgamescore
    ? Abbreviation – FGS
    ? Condition drop down list shows Most primary, least primary, equal primary and default. I did not know which is the correct choice so I left it as default

    ? Title – Second Game score
    ? Variable autopoped to secondgamescore
    ? Abbreviation – SGS
    ? Condition drop down list shows Most primary, least primary, equal primary and default. I did not know which is the correct choice so I left it as default

    ? Title – Final Score
    ? Variable autopoped to finalscore
    ? Abbreviation – FS
    ? Condition drop down list shows Most primary, least primary, equal primary and default. I did not know which is the correct choice so I left it as default

    Event Results
    ? Title – Win
    ? Variables – winfor, winagainst
    ? Equation – left blank

    ? Title – Draw
    ? Variables – drawfor, drawagainst
    ? Equation – left blank

    ? Title – Loss
    ? Variables – lossfor, lossagainst
    ? Equation – left blank

    – Table Columns
    The following choices are available in table columns for the equation.
    Win (for), win (against), draw (for), draw (against), loss (for), loss (against)

    ? Label – GP
    ? Equation – eventsplayed

    ? Label – won
    ? Equation – winfor

    ? Label – Lost
    ? Equation – lossfor

    ? Label GB
    ? Equation gamesback

    I click on an event and the results section shows
    Team A: Win (blank), Draw (blank), Loss (blank), outcome (auto)
    Team B: Win (blank), Draw (blank), Loss (blank), outcome (auto)

    I click on the event and enter 2 wins for team “A” and 2 losses for team “B” (or 1 win for each team), click on update and view the event. It shows team “A” with wins and team “B” with losses. The outcome box is not populated with anything in either case.
    When I enter a “1” in the draw text box for each team, and viewing the event, it shows a draw for each team with a “1” in the value. So, I think have something set up when using the “Draw” result.

    Also, the games played and games behind in the league table are not being updated.

    You got me a lot closer; but I am still having difficulty getting to what is need. Can you give me some more of your ideas and correct the mistakes that I am making?

    Thanks

    Thread Starter bwreilly00

    (@bwreilly00)

    Roach:
    Was looking at the problem some more and saw this.

    If I enter a ‘1’ in the win text box for each team, the outcome box still shows default and the Games played in the league table will not be updated. If I click in the outcome textbox and change the ‘default’ to first game score for team 1 and second game score for team 2, then the games played is updated for each of those teams.

    But, the games behind still shows zeros. tells me that the outcome box value drives the games played indicator. shouldn’t this be ‘auto-magically’ updated when I enter the numbers in the win/draw or loss box. And, what about the games behind?

    Sorry, I missed this information before my above post or I would have also included it

    Roch

    (@rochesterj)

    Hi there!

    Thanks for testing!

    Let’s try something different, swap your Event Results with your Event Outcomes

    This way you’ll be able to work with the games back variable (as it depends on a single win variable).

    So you’d have:
    Event outcomes: win (2pt), draw (1pt), loss (0 pt)
    Event results: 1st event, 2nd event, final score

    And your outcome is going to be based on most/equal/least “final score” points.

    The downside is that you may need a bit of custom code in your theme to change how the event is displayed and make it easier for your users to understand what is going on.

    Thanks!

    Thread Starter bwreilly00

    (@bwreilly00)

    Mr. Roch:
    Your direction has resulted in getting Games played, won, lost and games behind data in the league table. But, the results are not coming out as expected. For example, for the event of Guys and dolls playing the geckos team the data is entered as follows

    Guys and dolls – final score =2, secondevent = 1, firstevent=1, outcome = win
    geckos – final score =0, secondevent = 0, firstevent=0, outcome = loss
    I had to click in the outcome textbox and choose win and loss as it was not ‘autopoped’ when i entered the data. Is this how it works?

    The league table shows the following:

    Guys and Dolls has a 1 in the games played column. Should be a 2
    Guys and dolls has a ‘1’ in the won columnn It should be a 2.
    Guys and Dolls has a 0 in the lost column (this is right)

    Geckos has a ‘1’ in the games played column. It should be a 2.
    Geckos has a 0 in the won column (this is right)
    Geckos has a 1 in the lost column. It should be a 2

    What should I be doing different?

    Roch

    (@rochesterj)

    Hi!

    Thanks for your reply!

    “I had to click in the outcome textbox and choose win and loss as it was not ‘autopoped’ when i entered the data. Is this how it works?”
    When adding the event outcome you can select “most x” (wins? I’m not sure which variable you are using there). You can also use least X and equal X for the draw and loss scenarios. This way they’ll be added automatically once you add the results (just leave it as auto)

    “Guys and Dolls has a 1 in the games played column. Should be a 2”
    You can change your games played column to be games played * 2, since each event counts for 2 games

    “Guys and dolls has a ‘1’ in the won columnn It should be a 2.”
    Since your win is the “event” win, not the game win (which would be a tie) you can use win * 2 as well, same for the loss.

    Your ties should be correct as well.

    Thanks!

    Thread Starter bwreilly00

    (@bwreilly00)

    I still am having difficulty getting the correct number of losses and wins. I have put screen shots and additional information on a file share for you to look at. (see below for link)

    https://www.filedropper.com/sportspress1_1

    Roch

    (@rochesterj)

    Hi!

    Thanks for your reply!

    Please kindly send us links to your screenshots directly. We can’t download PDF files (or any files) for security reasons.

    Thanks!

    Thread Starter bwreilly00

    (@bwreilly00)

    Does this work. I have never done this before. I saved a word document as a single file web page. Or, do I have to do something else?

    https://www.filedropper.com/sportspress2singlefilepage

    Thread Starter bwreilly00

    (@bwreilly00)

    Thread Starter bwreilly00

    (@bwreilly00)

    Wow! Old age and trechary still is alive and well. After some ‘hunt and peck”, I found out what I was doing wrong. The final solution is to do the following.

    Under sportspress configure, do the following.

    Event outcomes…
    Draw (equal final score), win (most final score) and loss (least final score)

    Event Results…
    Final score, firstgame, secondgame

    Table Columns…
    GP – Events played times 2
    Won – final score for
    Lost – Final score against
    Percent wins – finalscorefor divided by finalscorefor plus finalscore against times 100

    WITHOUT THE HELP AND CONTINUAL INVOLVEMENT OF ROCH, THIS COULD NOT HAVE BEEN ACCOMPLISHED. HE IS A SAINT AND THEMEBOY IS THE GREATEST !!!!!!!

    Roch

    (@rochesterj)

    Hi @bwreilly00

    Thanks for your replies and I’m sorry for the delay.

    That’s amazing, I’m glad you were able to find a solution ??

    What a great setup you’ve got there! If you need anything else just let us know.

    Kind Regards,
    -Roch

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘league table using points not scores’ is closed to new replies.