Learning to write a bad play