Putting a save game feature in a game

hello peoples,
so i have a question i am making a game that will be similar to zork and will be setup similar. I want to put a save game feature in it to save where the player was in the game so that they can come back to it later. i am not sure how i should go about doing this. any help and ideas are appreciated.

thanks
Last edited on
You just need to code methods that will store the game state attributes (characters inventories, locations, stats, plot line progress, etc) into a file when you run a save command. Then when you start the game, you read back the file and update all the attributes so you're back where you left off.
Topic archived. No new replies allowed.