I’m making a text adventure game, and I found that the best design choice is to separate the text from the logic. But, I’m not sure what is the most efficient way to actually store that text and how to connect it to the classes. Should I use JSON format? If I used plain text files can I link different sections from them to the code?
Any suggestions would be much appreciated.