Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » Javascript Race Wizard
Re: Javascript Race Wizard Tue, 16 June 2009 14:39 Go to previous messageGo to previous message
craebild is currently offline craebild

 
Lieutenant

Messages: 568
Registered: December 2003
Location: Copenhagen, Denmark
That would be in C++, not Javascript. Still, AFAIK the logic and math commands are the same in C++ and Javascript, so the fact that I do not know C++ should not be a major obstacle.

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.



Med venlig hilsen / Best regards / Mit freundlichen Grüßen
Christian Ræbild / Christian Raebild

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Does a starbase persist damage?
Next Topic: I miss Stars! How do I get back in?
Goto Forum:
  


Current Time: Mon May 06 21:37:34 EDT 2024