You write a hit play the same way you write a flop.
"My Heart's in the Highlands" by William Saroyan, 1939.

You write a hit play the same way you write a flop.