Battle Analysis: Design



Mission: Battle analysis of hexagon based wargames using wargame calculators.


Design Issues


Components: Wargame Rules, Map, Force, Terrain


Algorithms, Rules and Calculators


Model View Controller Design Pattern

View - web page with mouse events

Controller - convert events into commands, apply commands using wargame rules

Model - data


Model View Controller Design Pattern

Wargame Commands

Wargame commands can come from the web interface, scripts or AI