PHP Classes

File: core/Battle.php

Recommend this page to a friend!
  Classes of Nicola Covolo   OPBE   core/Battle.php  
File: core/Battle.php
Role: Class source
Content type: text/plain
Description: Class source
Class: OPBE
Ogame probabilistic battle engine
Author: By
Last change: 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
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: 4,365 bytes

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

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

Login Immediately with your account on: