PHP Strategy Game BattleNow (a few updates)
Battle now is going to be our first attempt at a strategy style game. After today we have developed a simple tile system. Here is some of the code below.
For you who haven’t heard or forgotten, Battlenow is going to serve at the base level for a open source battle simulator. The plan is to have Generals with various rank, movement, intelligence, charm, war. There is also going to be hopefully some various weapon or military classes such as arterial (probably catapults), mounted units (probably rangers) and foot units (probably knights).
Turn based php game is what we will be shooting for, however it’s going to have the initiative system much like the older final fantasy tactics. You will have a queue and depending on your wait time will determine when your general will have his turn.
Forts, Castles, and different terrain all over different stats such as defense and movement. There is plans between levels to have a down/upgrade time for the next battle as well as in-game upgrades. Some code is below.

