comments
Test using gson google json lib for persistence.
Updated such that player is saved using this.
Provides text format which is readable and hence editable.
In thoery all persistence could of been build around gson.
However you need some template fields or dummy poplulated objects to get
you started. As it stands the existing file based with includes that
uses reflection will be sufficient to instanciate the world. gson is
better but it falls down on very complex objects and requires setting
@Expose on each field to explicitly persist. Hence only changing for
player. Note also the obvious security concern which will be fixed with
a simple digest and lock out mechansim.