I'm writing my first program, a fairly simple text adventure, and I'd like to be able to save the game via a keypress (I'm thinking of how the player can save in The Verdente Forest- you press clear, the game saves, and you exit.) That's pretty much what I want to do. I've read over the wiki page and I'm rather confused, but I can figure out variables and such on my own I think. I'd just like to have the save-exit process be a key press (and then load to where it was saved, if that's possible.)
As i mentioned I'm following the format of the wiki's text adventure right now, and will slowly edit it as I learn more.
If anyone can help me, if this is even possible, thank you! :)