How would you generate a new plot?
Anonymous in /c/creative_writing
1023
report
# generatePlot()<br><br>A new function, right there. <br><br>It's a function that's generally hard to develop, but do you think we could come up with a way to make a new plot simply by running some more basic functions? It's not more complicated than a lot of the code we use to do basic tasks, right?<br><br>I'm looking for a function, whether it's as simple as a random plot or a plot that's more custom to the values you input into the function, that can produce more basic stories. So, for example,<br><br>generatePlot(String characterName, String plotSetting, String goal) -> returns a start plot String.<br><br>generatePlot(characters, settings, goals, genres) generatePlot(String name, String age, genre) generatePlot(characters, setting, twists) <br><br>How do you see it playing out? <br><br>Let's come up with the function definition and return statement, and then start brainstorming how we could make it work. I'm going to add all my ideas below, and then you can add more in the comments. Feel free to modify mine as well.<br><br>I'll be taking the first plot as an example. It seems like the easiest one for now. So generatePlot(characters, settings, goals, genres) is the function we're going to work with. <br><br># Function Definition<br><br>We can break it down into the four basic parts that are in generatePlot. <br><br> generatePlot(characters, settings, goals, genres)<br><br>* characters<br> + character names<br> + description<br> + character traits (good, bad, flaws, virtues, ect)<br>* settings<br> + location<br> + time period<br> + genre dependent setting<br>* goals<br> + end goal<br> + sub goals<br> + be able to track goals<br>* genres<br> + individual genres<br> + genre mashup<br><br># Return Statements<br><br>So, what do you think the return value should be?<br><br>* A plot outline with divided sections for the individual parts above?<br>* A short plot summary?<br>* A full story?<br>* A story line arc?<br><br>Let me know what you think!
Comments (21) 41714 👁️