So I'm programming a text-base ZOMBIE GAME, 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 a cool story, alternatively click on the Pastebin link to just view the code:
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 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 day and night to reply GMT time.
3 Replies - 1415 Views - Last Post: 08 April 2013 - 10:18 AM
Replies To: $10 to anyone who can implement a save/load in a text-based game.
Page 1 of 1