Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Please help me on Python

Name: Tom 2013-04-05 19:39

So I'm programming a text-base ZOMBIE GAME for, something I've always wanted to do, and I'm doing it using Python.

Download the .py file here you can play it, I made an ok story:

http://www2.zshares.net/zn83stxoureb

Basically as you might see when you play it, all you have to do is press A, B or C depending on which option given to you is the best thing to do according to you.

Now, to fully finish it, I need to implement a Save/Load feature.

At points in the game where the user has picked a choice that progresses him in the story, I want to do:

>#save function goes here
>print ('Game saved') #game carries on

Then, at the beginning of the game:

>input ('''Type 'load' to load your last-played game or press enter to start a new game''')

I've installed Pygame, I've looked at using that 'shelve' idea but I'm just too much of a newbie/don't have the mental capacity to understand it.


Please BBS help me implement a save-game feature in this code.

In fact, I'll give $10 to someone who tells me how or edits the code for me to put in this feature.

Thanks in advance, I'm here all night to reply GMT time.

Name: Anonymous 2013-04-05 19:43

go back to /g/

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List