Author Topic: Points formula  (Read 72 times)

MBB

  • Newbie
  • *
  • Posts: 2
    • View Profile
Points formula
« on: July 26, 2018, 06:46:19 PM »
I'm trying to use two basic formulas, and can't get either of them right. Most of our tournaments award points like this:
6 points to last place, 2 additional points awarded for every place, with an additional 2 points on top to 3rd, 4 points to 2nd and 6 to 1st.

So in a 5 man tourney we end up with
5th= 6 pt
4th= 8 pt
3rd= 12pt
2nd = 16pt
1st= 20pt

The formula I am using is n - r + 2 + switch(r, 1, 6, 2, 4, 3, 2) The mock tourney I did didn't award points correct. It gave one extra point for each place, instead of two, and it awarded 1st-3rd 3 additional points
Mock Results
5th= 6 pt
4th= 7 pt
3rd= 10pt
2nd = 13pt
1st= 16pt

The only variation we run is a bounty where an additional 2 points is given for each bounty. The formula I have for that is n - r + 2 + switch(r, 1, 6, 2, 4, 3, 2)+ (nh * 2)

Since I can't get the base formula of points for rank and bonus points for 1-3rd to work, I can't really test the bounty portion.

Help please.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5612
    • View Profile
Re: Points formula
« Reply #1 on: July 27, 2018, 02:37:29 PM »
So close.

(n - r + 1) * 2 + switch(r, 1, 6, 2, 4, 3, 2) + 4 + (nh * 2)

Just need to multiply by 2 and add the initial 4.

MBB

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Points formula
« Reply #2 on: July 27, 2018, 03:49:31 PM »
Thanks!