I am creating a game like the text-based game Zorg using a console program. However, I don't know how to create a save file. How can I do this using the player's name to restore the variables I need?
zackzak
0
Newbie Poster
Recommended Answers
Jump to Postdo you mean create OR save a file ?
Jump to Postdo you have an code that you've started on that i can see?
Jump to Postso you're trying to save the variables in a file so that when the player starts the game again, you can read the file and get the variables out?
All 12 Replies
imclumsy
0
Light Poster
zackzak
0
Newbie Poster
imclumsy
0
Light Poster
zackzak
0
Newbie Poster
imclumsy
0
Light Poster
zackzak
0
Newbie Poster
imclumsy
0
Light Poster
imclumsy
0
Light Poster
zackzak
0
Newbie Poster
imclumsy
0
Light Poster
kudresov
0
Newbie Poster
zackzak
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.