War 2.0

From BattleMaster Wiki
Revision as of 16:04, 21 February 2008 by Tom (talk | contribs)
Jump to navigation Jump to search
War2-Blood.jpg

Introduction

After seven years of organic growth, the BattleMaster codebase has become more and more difficult to maintain. The number of bugs is way beyond what I consider acceptable, and new features are more difficult to add than they should be. More importantly, changes to the game structure result in breakage all over the place.

The only way out of this mess is a code refactoring, and a cleanup of some game structures. And while we're at it, let's bring BattleMaster into the 21st century:


BattleMaster meets "Web 2.0"

A proof-of-concept already exists. BattleMaster can be:

  • XHTML 1.0 compliant
  • well-structured according to the MVC concept
  • gain added functionality such as client-side table sorting or some AJAX
  • and still remain the same easy and accessible game

After some searching, I have decided upon the CodeIgniter framework as the base for a refactored codebase.


Structural Updates

In addition to a code update, there will also be a few structural updates. All the half-finished stuff that is lurking around the game will be finished (we simply won't be moving over the old stuff), and a few other changes will be made that are easy to do during a refactoring and would've been a lot of work on the old code.