Author Topic: simple points  (Read 1251 times)

jzallen

  • Newbie
  • *
  • Posts: 27
    • View Profile
simple points
« on: December 22, 2013, 11:12:57 AM »
I feel stupid asking this, but math is not my strong point.

My awarded points are simple:
Players earn points each game based on finish
Flat Points system
1 - 1000
2 - 700
3 - 500
4 - 400
5 - 350
6 - 300
7 - 250
8 - 200
9 - 150
10 - 100
11 - 50
12 - 50
13 - 50
14 - 50
15 - 50
16 - 25
17 - 25
18 - 25
19 - 25
20 - 25
21 - infinity 10 (basically everyone that plays get a minimum of 10 points)

jzallen

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: simple points
« Reply #1 on: December 22, 2013, 11:13:20 AM »
There has to be a simple way for this to be written. lol

Stuart Murray

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
Re: simple points
« Reply #2 on: December 22, 2013, 01:26:46 PM »
This will get it done for you:

switch(r, 1, 1000, 2, 700, 3, 500, 4, 400, 5, 350, 6, 300, 7, 250, 8, 200, 9, 150, 10, 100, 11, 50, 12, 50, 13, 50, 14, 50, 15, 50, 16, 25, 17, 25, 18, 25, 19, 25, 20, 25, 10)

It's a simple place to points, and I'm sure you can see from it how to change the points for each position, the 10 at the end represents all the other ranks not defined.

Regards
Stu
« Last Edit: December 22, 2013, 01:28:51 PM by Stuart Murray »
Stuart Murray

jzallen

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: simple points
« Reply #3 on: December 22, 2013, 02:39:25 PM »
That was easy!

How about this, a 1 time points penalty of 30%?

You can rebuy as many times as you want, but it just hits your points 30% for the one time.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5380
    • View Profile
Re: simple points
« Reply #4 on: December 22, 2013, 10:46:41 PM »
switch(r, 1, 1000, 2, 700, 3, 500, 4, 400, 5, 350, 6, 300, 7, 250, 8, 200, 9, 150, 10, 100, 11, 50, 12, 50, 13, 50, 14, 50, 15, 50, 16, 25, 17, 25, 18, 25, 19, 25, 20, 25, 10) * if(nr > 0, .7, 1)

jzallen

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: simple points
« Reply #5 on: December 22, 2013, 11:36:02 PM »
perfect! thanks corey

jzallen

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: simple points
« Reply #6 on: December 23, 2013, 07:25:10 PM »
ok, how about a hard one.

Same points, but if you rebuy you get none (dont want people buying a championship), however, the players who finish a rank below you all move up in points.

example, you rebuy and win. thats normally 1000 points.  Since you rebought, that is now 0 points, and second place who woulda gotten 700, now gets the 1000. and everyone moves up.

the ranking is till the same, cash positions are still the same, just points are different

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5380
    • View Profile
Re: simple points
« Reply #7 on: December 24, 2013, 01:46:48 PM »
Can't be done.  If you notice all of the variables available to the formula are either tournament-specific or player-specific (the player for whom points are being calculated).  But there are no variables indicating anything about specific other players.  So, for example, when computing points for the 3rd place finisher, there's no way for the formula to know that the 2nd place finisher rebought and thus should be computing points as if the 3rd place finisher were actually the 2nd place finisher.

jzallen

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: simple points
« Reply #8 on: December 24, 2013, 02:49:52 PM »
ok. fair enough