Poetry in the Machine is a web based game where the user creates a four line poem using lines provided to them via a markov chain. 
There are various lines of poetry, split into five thematic lists. Depending on the category that the current line comes from, the next lines offered will have a varying percentage chance of coming from one of the other lists.
This was implemented to create poems that feel unified and like they have a coherent theme running through them. 

There is never a zero percent chance that a line can come from a certain list as allowing the system to throw in the occasional odd line changes the meaning in very interesting ways. 
Poetry in the Machine was originally created using twine, then ported to javascript.
Back to Top