serg-srri-umass / TP-data-games

Middle School/Statistics oriented data games for the Data Games Project
http://srri.umass.edu/datagames
4 stars 5 forks source link

Chainsaw: save and restore game in DG #203

Closed cdmiller closed 10 years ago

cdmiller commented 10 years ago

All game parameters need to be saved and restored using the new saveStateForDG/restoreStateForDG functions.

This task is finished when a user can save a Chainsaw game in DG, then start playing again later from the same game level, same site number, same ratings, etc, etc.

Also a user should be able to load a document in DG, that was save with an older game version, and start playing again without breaking the game (perfectly OK if obsolete parameters are ignred, and new parameters are unchanged).

cdmiller commented 10 years ago

Done. If for some reason someone saves the document in the middle of a game (while cutting), we will consider that game over, so the loaded document will start as if the game was over.