Author Topic: Formule  (Read 2142 times)

xtof

  • Newbie
  • *
  • Posts: 16
    • View Profile
Formule
« on: October 16, 2013, 10:54:31 AM »
Hi

how can i make a formula for every player thats out you get 10 points more

example 30 players 1ste out 0 points winner 300 points

rgd

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Formule
« Reply #1 on: October 16, 2013, 01:28:24 PM »
(n - r) * 10

Although this won't result in 1st place in a 30-player tournament getting 300 points.  They'll get 290.  That's because 30th place gets 0 points.  If you want 1st to get 300 points, use:

(n - r + 1) * 10

Easy to see with a 3 player tournament instead of 30.  Using first example, (n - r) * 10:

1st: 20
2nd: 10
3rd: 0

Using (n - r + 1) * 10:

1st: 30
2nd: 20
3rd: 10