Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Storing game settings

 
Ramzi Hajaj
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Guys


I'm creating a memory game and i'm trying to figure out the best way to store system settings so that the settings are saved after the program has been exited?


Has anyone got any ideas on this? Obviously there are some options that come to mind, e.g storing to file, storing in database,


Thanks for help
 
Nikhil Sagar
Ranch Hand
Posts: 216
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ramzi Hajaj wrote:Hey Guys


I'm creating a memory game and i'm trying to figure out the best way to store system settings so that the settings are saved after the program has been exited?


Has anyone got any ideas on this? Obviously there are some options that come to mind, e.g storing to file, storing in database,


Thanks for help


I think it is only depends on you or your game's need.
Settings have some password like sensitive information.
What is the average size of settings you want to save.
Do you want to override previous settings or want to append new settings to the previous one.
etc.
there can be more factors so, it totally depends on you.I think.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic