From: Brett L. <wak...@ea...> - 2005-03-02 17:05:41
|
>> >However, for saving the state of the game, I think that Java >> Serialization >> >would be a better choice. The volume of data involved is >> relatively small >> >and the coding for straightforward serialization is simple, >> certainly >> >several times less effort than mapping all objects in and out of XML. >> >> Sounds good. I agree that the mapping a save file to XML will >> probably be a lot of work. So, >> if there's a simpler way, I'd favor using it. > >Yes, but I think that we also need the other save-related option >originally proposed by Brett: a log of all actions performed. >If only for the post-mortem and/or publication of a game! >(I've myself replayed quite some games published on Internet). My main motivator here, is that there's a Java client for playing PBEM= Diplomacy (i forget the name at the moment) and it allows this mechanism= of replaying past games. I'll see if I can't dig up the name of the app and, if it's open source,= take a peek at how they handle this problem. ---Brett. |