Ogame probabilistic battle engine
||By Nicola Covolo
||Added stolen resources in the report
Decrease random fire from 50% to 10%.
Added fleet composition to debug information.
Moved some functions from battle report to round.
Added a test case.
Formatted the report in 3 parts: presentation,battle and end of battle
fix messages on xgp implementation
replaced the "false" return with an error in case of bugs.
delete double code in battlereport
now css can be seen in testcases.
added an index page to display testcases.
added some comments to code
standardized some name functions.-
Round now have __toString template.-
Updated the test Runnable based on the above.-
Fixed a <br \> in debug mode.-
Added Battle class String rappresentation by template.-
Fixed ships no destroyed.-
Added the ability to create report using external lang.-
Cleaned some code.-
||2 years ago