Blu3wolf/CNA-Assistant

How to Save game state (and Load)

Opened this issue · 0 comments

Initial development will use an XML file. Future development should investigate whether a database is suitable, and whether an online database is suitable, to allow for multiple users with a single coherent game state, shared responsibilities, and the ability to plan ahead, and save plans. Saved plans could be marked for automatic execution, once the game state catches up to a plan.

In this way, the user would select a game phase ahead of the current one, select units they control, and make instructions for those units, in the same way they would if it were the current phase. The software would clearly indicate that these are plans rather than execution. Plans would be reviewed, then approved, and once the game reaches the game phase where the plan was made, the plan is automatically executed if it was already approved. Else, the software would pop up, and ask the user to approve the plan (or revise it).