Jacob H wrote:
> Hello list...
>
> I'm developing an adventure game in Python (which of course is lots
of
> fun).
I am glad you are having fun ,
after all life is so short,
isn't that what it is all about ;)
> One of the features is the ability to save games and restore the
> saves later. I'm usi
Jacob H wrote:
Hello list...
I'm developing an adventure game in Python (which of course is lots of
fun). One of the features is the ability to save games and restore the
saves later. I'm using the pickle module to implement this. Capturing
current program state and neatly replacing it later is pro
"Jacob H" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm developing an adventure game in Python
Since you are not the first, have you looked at what others have done to
save/restore? The Pygame site has code you can look at for adventure (I
believe) and other game types (I
Take a look at Zope. The ZODB is a highly optimized object
database that handles the pickling, loading, saving, etc. of
Python objects for restoring program state. A ZODB beginner's
tutorial is available here:
http://www.h7.dion.ne.jp/~harm/ZODB-Tutorial.py
Other info at:
http://zope.org/Members/