Battle Analysis: Design



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


Design Issues


Components: Wargame, Terrain, Force, Map

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

Terrain with terrain types that affect movement and combat

Force combat units involved represented by counters placed on the map

Map of the battle with hexagon grid for unit placement


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