Saved Games
We should be able to save and load games ;)
At the minimum this requires:
- Support for both single- and multiplayer saved games
- Map, simulation state, any useful stat counters
- Player assignments: human/AI, name, etc.
- User supplied description and a timestamp
- In multiplayer games, all clients either need to save their own local copy of the data, or the host sends it during setup
- GUI design of "save game" dialog/page
- GUI design of setup screen for loading games
- We could reuse the current game setup and add another case, or design a new page with separate link from the main menu
- Instead of map list, have a saved game list
- Show the timestamp, description, elapsed time, etc. of selected game
- In multiplayer mode, returning players should be reassigned to their original slots, possibly based on name - host can change this
- Defeated players should either be clearly shown as defeated (preferable) or removed
Here's a few tickets which may need to be resolved for saved games:
- #406: Serialization of standard JS object types
- #407: Serialization of script class objects
Change History
(9)
Milestone: |
Alpha 4 → Alpha 5
|
Priority: |
Should Have → Must Have
|
Milestone: |
Alpha 5 → Alpha 6
|
Milestone: |
Alpha 6 → Alpha 7
|
Milestone: |
Alpha 7 → Backlog
|
Owner: |
set to Philip Taylor
|
Milestone: |
Backlog → Alpha 8
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Woo! The bulk of this work is now done. Any additional changes can be handled in separate tickets.