Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2001:
[Freeciv-Dev] chance of winning a battle
Home

[Freeciv-Dev] chance of winning a battle

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] chance of winning a battle
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxxxx>
Date: Thu, 12 Jul 2001 00:36:33 +0300 (IDT)

Having recently discovered the FreeCiv project, decided to have a go at
one of the TODO items.  But (the devil in my head said), how can one
contribute without actually playing the game properly first...  It
was couple of days ago.  But enough playing for now.

Question:
Has anyone actually had a go at 
"91 - Create a function that gives a statistically excact value for a units
 92   chance of winning a battle." ??
Just didn't want to reinvent things...

More stupid questions:

1. "statistically excact value" will involve a nontrivial mathematical
function (the so-called hypergeometric function).  should it be put into a
different module?  presumably the function itself would go to
server/unittools.c

2. should I explain the maths behind the code or you trust strangers?


Sorry about asking so much and doing so little,

Dr Livesey

 




[Prev in Thread] Current Thread [Next in Thread]