Author Topic: Points per player (calculate)  (Read 854 times)

schummi

  • Newbie
  • *
  • Posts: 1
    • View Profile
Points per player (calculate)
« on: January 08, 2010, 12:43:29 PM »
Hi, i try to do the formula to my rank but i wasn't succeed

this is how to calculate the formula:
last player to 31º place: add 1 point (player per player) (example: 35 players - 35º won 1 point / 34º = 2 points / 33º = 3 points / 32º = 4 points / 31º =5 points)
30º to 21º +3 points (continuing exemple above (35 players) 30º [5+3] = 8 points / 29º [8+3] = 11 points / 28º = 14 points ... to ... 21º = 35 points
20º to 11º +6 points (continuing exemple above (35 players) 20º [35+6] = 41 points / 19º [41+6] = 47 points / 18º = 53 points ... to 11º = 95 points
10º to 4º +10 points (continuing exemple above (35 players) 10º [95+10] = 105 points / 9º [105+10] = 115 points ... to ... 4º = 165 points
3º +20 points (continuing exemple above (35 players) 3º [165+20] = 185
2º +30 points (continuing exemple above (35 players) 2º [185+30] = 215
1º +50 points (continuing exemple above (35 players) 1º [215+50] = 265

i will waiting the answer

Tks
Julian

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6220
    • View Profile
Re: Points per player (calculate)
« Reply #1 on: January 11, 2010, 11:29:55 AM »
(n-r+1) + if(r <= 30, (31-r)*2) + if(r <= 20, (21-r)*3) + if(r <= 10, (11-r)*4) + switch(r, 3, 10, 2, 30, 1, 70)

Output for 35-player tournament:

 1st: 265.00
 2nd: 215.00
 3rd: 185.00
 4th: 165.00
 5th: 155.00
 6th: 145.00
 7th: 135.00
 8th: 125.00
 9th: 115.00
10th: 105.00
11th:  95.00
12th:  89.00
13th:  83.00
14th:  77.00
15th:  71.00
16th:  65.00
17th:  59.00
18th:  53.00
19th:  47.00
20th:  41.00
21st:  35.00
22nd:  32.00
23rd:  29.00
24th:  26.00
25th:  23.00
26th:  20.00
27th:  17.00
28th:  14.00
29th:  11.00
30th:   8.00
31st:   5.00
32nd:   4.00
33rd:   3.00
34th:   2.00
35th:   1.00