This isn't enough, though. I make my software aware of where the reader has been in the poem. The program then tries to use this information to make sure that the choices presented to the reader are as meaningful as possible. A Life Set for Two , clearly inhabits the realm of figurative language. Yes, I think that writing program code is a type of figurative writing.
Computer programs are highly metaphorical on many different levels.
On the highest level, the software interface is loaded with symbols and icons. On the lower levels, under the hood, we use the names of functions and variables to represent all sorts of complex procedures and behaviors. It's the same voodoo the poet uses, really. The words of a poem conjure up all sorts of images and emotions in the reader's brain. The lines of code in the program conjure up the illusion of things and places and behaviors there on the computer screen, which in reality is just a bunch of phosphors illuminated by cathode rays.