Re: Javascript Race Wizard |
Tue, 16 June 2009 16:46 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
craebild wrote on Tue, 16 June 2009 20:39 | You mention "calculating a bunch of planets". The code for the hab and econ calculator contains code for calculating the theoretical spread, i.e. the equivalent of averaging an infinite number of random planets.
If Stars! uses a sufficiently low number of planets, then that means that creating the same race twice could give different point totals in Stars!. I would suggest using the theoretical spread for any Stars! clone instead of a limited number of random planets. In my opinion, there is no need to reproduce the bugs in Stars! in a Stars! clone.
I haven't taken a look at the code you linked to yet, but I will - It might not be today, though.
|
That "equivalent of averaging an infinite number of random planets" is not done randomly at all. It's wholly deterministic for a given race design.
Odds are it's not completely fair across all possible race designs, though, by giving more points to habs that aren't so much better than other hab schemes that get less points.
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
|