scriptwizard99 / AlamazeTurnParser

Set of tools for parsing and displaying turn results from the Alamaze PBEM game.
0 stars 0 forks source link

Group movement planner #15

Closed scriptwizard99 closed 9 years ago

scriptwizard99 commented 9 years ago

Lord Diamond mentioned that he used his map to plan group movement by placing arrows on the map. This gave me an idea.

The Group Movement Planner dialog would mostly look like a 10 key. Select a group and that name appears in the center button. The eight buttons around it contain arrows.

On the map, the selected group is highlighted. When you press an arrow key, two things happen. First, an arrow is drawn from the center of that group's area to the center of the square corresponding to the arrow pressed. This continues whenever you press a key, yielding a long arrow that winds its easy through the map. The other thing that happens is that the set of areas moved into are listed at the bottom of the window. When you are happy with your arrow, you can use the list of areas as a good for what to enter on the order validator. There would also need to be a way to back up/erase a step if you hit the wrong button or just decided to go another way. Ideally, this arrow would be persisted in the saved data until the next turn is parsed. Also, if we could preload the movement cost of terrain for that kingdom, then we could even show how much each move cost and how much was left.

scriptwizard99 commented 9 years ago

Data record:

Turn number, M, marker type, color, list of areas in order.

Marker type is 'Group Arrow'

Don't know if we will need or support color, but it doesn't hurt to have it.

scriptwizard99 commented 9 years ago

The bulk of this (everything but persistence) is available in release v1.5.0.

scriptwizard99 commented 9 years ago

Wrote issue #17 to cover persisting the arrows.