Login   Register  
PHP Classes
elePHPant
Icontem

Simple PHP Combat System: Simulate a combat with attacker and defender army

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Hossam Suliman
Name: Hossam Suliman <contact>
Classes: 5 packages by
Country: Saudi Arabia Saudi Arabia
Age: 25
All time rank: 13443 in Saudi Arabia Saudi Arabia
Week rank: 584 Up2 in Saudi Arabia Saudi Arabia Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
This class can simulate a combat between attacker and defender troops.

It takes as input the number of troops of an attacker and a defender in terms of men with hands, switchblades and guns.

The class simulates a battle by determine which army has more points assuming the loser army will have no survivors.

  Classes of Hossam Suliman  >  Simple PHP Combat System  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Simple PHP Combat System
Base name: simple-combat
Description: Simulate a combat with attacker and defender army
Version: 1.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 489 users
All time rank: 5318
Week users: 3 users
Week rank: 649 Up
 
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Games Sports and online games View top rated classes
Group folder image Artificial intelligence Automation of tasks using human-like intelligence View top rated classes

  Files folder image Screenshots  
screenshot.png
File Role Description
Accessible without login Image file screenshot.png Screen Screenshot of simple battle.


  Innovation Award  
PHP Programming Innovation award nominee
May 2013
Number 10
Web based combat simulation games are very interesting for many enthusiasts.

This class can help implementing the part of the simulation of combats that evaluates the outcome of battles based on several aspects of each of the enemies.

Manuel Lemos

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example of class usage.
Accessible without login Image file gun.png Icon Gun icon.
Accessible without login Image file hand.png Icon Hand icon.
Plain text file SimpleCombat.class.php Class Main class.
Accessible without login Image file switchblade.png Icon Switchblade icon.

Download Download all files: simple-combat.tar.gz simple-combat.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.