Battle Analysis: Design



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


Design Issues


Components: Wargame Rules, Map, Force, Terrain

Wargame Rules Sequence of play that records turns, phases, victory conditions and modes of play

Map of the battle with hexagon grid for unit placement, line of sight and lines of communication

Force combat units involved represented by counters placed on the map

Terrain with terrain types that affect movement and combat


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