I am learning programming and have built a small game that uses data files. Basically I wanted to edit text files and have them read instead of hardcoding everything into the code. So like I could have a text file called "room1, room2, room3" etc.
I made my own text file for this... basically it uses a "key" string. The code can either grab the single line (omitting the key) or grab all the lines between to keys...
something like this. (This is just sudo code)
//Line String -:blah blah blah blah blah blah blah blah blah blah blah blah …