## Rabbit Chase Scoring

All things BZFlag - no [OT] here please
Mark_IV
Private First Class
Posts: 157
Joined: Wed Aug 25, 2010 12:24 am
Location: Actually joined 2004 or 2005 as tyjr ;)

### Rabbit Chase Scoring

What is with the percents when you play rabbit chase. When you start, you have a score of 0-0, yet you have 50%. If you become rabbit and kill someone, you have 1-0, but not 100%. I just wanted to know why the percents on rabbit chase don't correspond with your score.

gravyfan
Private First Class
Posts: 7
Joined: Thu Feb 03, 2011 5:21 pm

### Re: Rabbit Chase Scoring

I think the percentage has to do with how long you are the rabbit out of your total play time or something. I don't know for sure though, so I am curious as to how that exactly works as well.

Mark_IV
Private First Class
Posts: 157
Joined: Wed Aug 25, 2010 12:24 am
Location: Actually joined 2004 or 2005 as tyjr ;)

### Re: Rabbit Chase Scoring

It can't be that, because if you start, you have been rabbit 0% of the time, yet you start at 50%.

blast
General
Posts: 4751
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

### Re: Rabbit Chase Scoring

It's the "rabbit score", which is calculated by passing in the wins and losses to this function, and then multiplying by 100:

Code: Select all

``````// Take into account the quality of player wins/(wins+loss)
// Try to penalize winning casuality
static float rabbitRank (int wins, int losses) {
// otherwise do score-based ranking
int sum = wins + losses;
if (sum == 0)
return 0.5;
float average = (float)wins/(float)sum;
// IIRC that is how wide is the gaussian
float penalty = (1.0f - 0.5f / sqrt((float)sum));
return average * penalty;
}``````
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Mark_IV
Private First Class
Posts: 157
Joined: Wed Aug 25, 2010 12:24 am
Location: Actually joined 2004 or 2005 as tyjr ;)

### Re: Rabbit Chase Scoring

In rabbit chase what are wins and losses?

joevano
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

### Re: Rabbit Chase Scoring

Mark_IV wrote:In rabbit chase what are wins and losses?
UHm.. kills and killed
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln

Mark_IV
Private First Class
Posts: 157
Joined: Wed Aug 25, 2010 12:24 am
Location: Actually joined 2004 or 2005 as tyjr ;)

### Re: Rabbit Chase Scoring

Ok, thats what I thought, but just making sure. Thanks for the answers Blast and Joe.