From: Erik V. <eri...@hc...> - 2005-03-01 19:46:21
|
> >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). Erik. |