I’m working on my first (C++) game, and I want to use a component based design. I’ve read a lot about this lately and yesterday I decided I wanted to store object data in external JSON files, to allow for more flexibility and ease of access.
Then it dawned on me that leaving these files in the game’s directory tree would allow the players to modify anything they want very easily.
I’m not worried about showing the code to developers, because the game will be open source, but I’m afraid an inexperienced gamer might break the game or at least ruin the fun.
Am I missing something? What’s the policy about hiding game data (in open source games)? Is it normal to leave everything plainly accessible to anyone?
If not, what is a good way to hide the data?