PHP Classes

File: core/BattleReport.php

Recommend this page to a friend!
  Classes of Nicola Covolo   OPBE   core/BattleReport.php  
File: core/BattleReport.php
Role: Class source
Content type: text/plain
Description: Class source
Class: OPBE
Ogame probabilistic battle engine
Author: By
Last change: 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
updated README.-
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.-
Date: 10 years ago
Size: 14,849 bytes

You need to be a registered user and login to get this file.

1,614,377 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: