The Tournament Director Forums
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2013, 04:20:01 PM

Login with username, password and session length
Search:     Advanced search
17124 Posts in 3142 Topics by 1519 Members
Latest Member: tom004
Back to The Tournament Director main site
* Home Help Search Login Register
+  The Tournament Director Forums
|-+  Main
| |-+  Help Me
| | |-+  Need Help with Point Formula Please
« previous next »
Pages: [1] Print
Author Topic: Need Help with Point Formula Please  (Read 381 times)
TrainerBBD
Newbie
*
Posts: 3


View Profile
« on: June 07, 2011, 09:39:03 AM »

We want to run our season with the below point structure ... Can anyone assist?

o   1st Place = 20
o   2nd Place = 18
o   3rd Place = 16
o   4th Place = 14
o   5th Place = 12
o   6th Place = 10
o   7th Place = 8
o   8th Place = 6
o   9th Place = 4
o   10th place = 2
o   11th and lower =1

o   Hit Man = 1


Thanks for taking time Smiley
Logged
Magic_fubu
Hero Member
*****
Posts: 1009


View Profile
« Reply #1 on: June 07, 2011, 10:06:22 AM »

TrainerBBD - I have a similar structure of how to award points. On the game tab, in the points for buy-in, put a 1. Do the same for points for hits. Then, in the points for playing, you can put switch(r,1,19,2,17,3,15,4,13,5,11,6,9,7,7,8,5,9,3,10,1).  At the end of the game, you can see the points earned for the night, and see that even though the switch has the points one less than what's earned for the rank, it will be taken care of with the point awarded for buying in to the game.

If you don't want to go the way I sugggested, I know that there is a way to incorporate everything into the points for playing, but I'm not entirely sure how. I believe you could get it with switch(r,1,19,2,17,3,15,4,13,5,11,6,9,7,7,8,5,9,3,10,1)+nh+1 (could someone confirm or correct me please?)
Logged

My cowboys shot down your rockets
---
If you send a request to me please send that you got me from here w/your TD name to confirm. Thanks!
TrainerBBD
Newbie
*
Posts: 3


View Profile
« Reply #2 on: June 07, 2011, 11:02:05 AM »

Sweeeeeet ... I will try that tonight when I get home.

I knew there must be a way but I am just new at adding the point formula's to TD so wasn't sure how.

Thanks for the help !!!  Grin
Logged
Corey Cooper
Administrator
Hero Member
*****
Posts: 4269


View Profile
« Reply #3 on: June 07, 2011, 11:05:35 AM »

You've pretty much got it, Magic_fubu.  There are several ways to do it:

switch(r, 1, 19, 2, 17, 3, 15, 4, 13, 5, 11, 6, 9, 7, 7, 8, 5, 9, 3, 10, 1) + 1 + nh

This gives one less point than the ranks are supposed to get, but then adds 1 point (which everyone receives) so that those that aren't ranked in the top 10 get the 1 point.  + nh gives one point for each hit a player makes (each knockout), which is what I assume "Hit man = 1" means.

The other way to do it is very similar:

switch(r, 1, 20, 2, 18, 3, 16, 4, 14, 5, 12, 6, 10, 7, 8, 8, 6, 9, 4, 10, 2, 1) + nh

This is the same except we give the proper points in the switch(), and add a final parameter to it: ", 1".  That's the "else" clause, which says if they don't match anything in the switch, then return this value.  So, for those that aren't in the top 10, they get 1 point from the switch statement.

And another way:

if(r < 11, (11 - r) * 2, 1) + nh
Logged
TrainerBBD
Newbie
*
Posts: 3


View Profile
« Reply #4 on: June 07, 2011, 12:34:09 PM »

WOW .... So many different ways to do it.

I will put in the information and try a test tourney tonight.

Thanks for the help !!! Much appreciated.
Logged
Magic_fubu
Hero Member
*****
Posts: 1009


View Profile
« Reply #5 on: June 07, 2011, 04:49:33 PM »

That's one of the things that I love about the program - the versatility of it. There's so many ways to do the same thing for most of the program.
Logged

My cowboys shot down your rockets
---
If you send a request to me please send that you got me from here w/your TD name to confirm. Thanks!
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!