26
3
Everyone is likely familiar with the following song, which is a musical round:
Background
Fewer people might recall trying to sing the 4-person version of this with a few friends and failing. Offsetting the lyrics of a song with different harmonious pitches is known as singing a "round" and that's what we're here to simulate today using static output. Here's an example of someone actually performing the piece (link to audio/video, will have sound).
The Challenge
This challenge is to output the text as follows exactly as it follows:
Row, row, row your boat, |-----------------------------------|-----------------------------------|-----------------------------------
Gently down the stream. |Row, row, row your boat, |-----------------------------------|-----------------------------------
Merrily, merrily, merrily, merrily,|Gently down the stream. |Row, row, row your boat, |-----------------------------------
Life is but a dream. |Merrily, merrily, merrily, merrily,|Gently down the stream. |Row, row, row your boat,
-----------------------------------|Life is but a dream. |Merrily, merrily, merrily, merrily,|Gently down the stream.
-----------------------------------|-----------------------------------|Life is but a dream. |Merrily, merrily, merrily, merrily,
-----------------------------------|-----------------------------------|-----------------------------------|Life is but a dream.
Rules
- Trailing whitespace is acceptable, but not required, this includes newlines.
- Hyphens and bars are part of the required output, yes.
- Commas, periods, capitalization and all syntactical elements related to grammar are required.
This is code-golf, the lowest byte-count code without using standard loopholes is the winner.
2
I just want to say, I greatly enjoy your large [tag:kolmogorov-complexity] and [tag:ascii-art] challenges! Both this one and a keyboard so real have been extremely fun to write solutions for. :)
– James – 2017-04-21T17:24:59.3402@DJMcMayhem ever since finding this site I see challenges randomly in my daily life and keep a small notepad for the ideas I get, I'll keep trying to make fun ones! – Magic Octopus Urn – 2017-04-21T17:35:44.930