Open timfreilly opened 12 years ago
As I think about this more, I realize that this may be one of the main blockers for my progress on the project. With actors, weapons, rooms, scenarios, etc, I always feel a bit hesitant that my test data is not flexible enough. My goals are:
I already use JSON for the data files. Maybe my strategy needs to be to identify what objects need to be data, and how to format my files. It would make sense that instead of embedding the banker's stats in the scenario, the scenario just references the banker data.
I think my major classes need toJSON and fromJSON methods. Also, I think Actor might need to split between Actor and subclass Star.
I use pickle for the main character's storage, currently. I think I'd prefer something human readable.