Web interface - HerrTom/QJM-Wargame-2 GitHub Wiki

The web interface is where the players will interact with the game.


It will have several main features:

  1. A "login" page handled via a simple username to control fog of war. Each user will have a preset set of units available to control.
  2. A command area, where actual interaction occurs

The command area would contain three items:

  1. A draggable map with units overlaid. Ideally each commander would have particular access to only his units.
  2. An order of battle tree, showing the commander's units
  3. A SITREP area where the selected unit's order of battle is displayed. (Maybe this is better in a popup via double clicking on a unit or something?)

Upon clicking a unit in either the OOB tree or the map, it is selected. Right clicking on the map sets those coordinates as the unit's waypoint.