I got introduced to Neptune’s Pride a little while ago by a friend… It is a simple 4X game, with small games for 8 players in each in the free ones.
The game uses some simple math to calculate the outcome of battles, and since I am lazy I got tired of doing that math and started working on a battle calculator.
This is my first attempt on php, and it is a work in progress… so feedback is appreciated.
Try it out here: Neptune’s Pride Battle Calculator
UPDATE:
I have ditched php, and gone for javascript in v0.2 of the calculator… Now the workflow is more streamlined since you don’t have to go between different pages to get to results. Seems to be some css-problems though. And javascript issues with IE. Working on it.
…And apparently IE doesn’t care about height / min-height unless you add an !important to it.
the old version can still be found here





Neptune’s Pride Battle Calculator v0.3
I’ve upgraded the calculator a little, tinkered a bit with the design with a new header and some minor tweaks for better appearance, and managed to get the javascript to run in IE as well, thanks to a little help from saiboten.
What went wrong was as simple as using type=”text/javascript” for javascripts in stead of type=”application/javascript”. gah.
As allways, feedback is appreciated!
the new version is located here.
The old versions can still be found here if anything stops working for you:
version 0.1
version 0.2