I am making a adjective fill-in-the-blanks story creator in Java, as part of a student project. I have two .txt files: One file has the story itself, with the blanks written like this: __. I.E: "This is a __ story." The second file contains a list of adjectives.
I have gotten most of my code to work, but I am unable to read from the story-file, and replace the __ parts with random words from the adjectives-file. What is the best way to do this?
Let me know if you have any questions, thanks!