From: Brett L. <wak...@ea...> - 2005-03-06 21:43:19
|
>> I've been thinking about the game-save and game requirements, >> and it seems >> to me >> that these are best served by a single solution: All the >> user's funtional >> input, >> e.g. "Fred buys a B&O share", "PRR lays a #9 on H14/ew" >> should be saved in a >> replayable log. This log could be held in memory > >Why not written to a file immediately? >Granted that Windows does not crash that often these days, >but why take the risk? My preference is to have these written to a temp file when we transition= from stock round to operating round and from operating round to stock= round. Then, when the user wants to save the game, we just move the temp file to= the user-specified location. I don't think we need to be constantly writing out to the disk, but we also= don't want to wait _too_ long before saving the game. ---Brett. |