The Name Game

Description

The best hole.

Print the lyrics to the song The Name Game

Try lyrics are as follows:

The name game!

Shirley!
Shirley, Shirley, bo Birley
Bonana fanna fo Firley
Fee fy mo Mirley, Shirley!

Lincoln!
Lincoln, Lincoln, bo Bincoln
Bonana fanna fo Fincoln
Fee fy mo Mincoln, Lincoln!

Come on everybody
I say now let's play a game
I betcha I can make a rhyme, out of anybody's name
The first letter of the name, I treat it like it wasn't there
But a "B" or an "F", or an "M" will appear
And then I say "Bo", add a "B", then I say the name
Then "bonana fanna" and "fo"
And then I say the name again with an "F" very plain
Then a "fee fy" and a "mo"
And then I say the name again with an "M" this time
And there isn't any name that I can't rhyme.

Arnold!
Arnold, Arnold, bo Barnold
Bonana fanna fo Farnold
Fee fy mo Marnold, Arnold!

But if the first two letters are ever the same
I drop them both, then say the name
Like Bob, Bob, drop the "B's", Bo-ob
Or Fred, Fred, drop the "F's", Fo-red
Or Mary, Mary, drop the "M's", Mo-ary
That's the only rule that is contrary
Okay?

Now say Bo
Bo!
Now Tony with a "B"
Bony!
Then "bonana fanna" and "fo"
Bonana fanna fo!
Then you say the name again with an "F" very plain
Fony!
Then a "fee fy" and a "mo"
Fee fy mo!
Then you say the name again with an "M" this time
Mony!
And there isn't any name that you can't rhyme.

Everybody do Tony!
Tony, Tony, bo Bony
Bonana fanna fo Fony
Fee fy mo Mony, Tony!

Pretty good, let's do Billy!
Billy, Billy, Bo-gilly
Bonana fanna fo Filly
Fee fy mo Milly, Billy!

Very good, let's do Marsha!
Marsha, Marsha, bo Barsha
Bonana fanna fo Farsha
Fee fy Mo-arsha, Marsha!

A little trick with Nick!
Nick, Nick, bo Bick
Bonana fanna fo Fick
Fee fy mo Mick, Nick!

The name game!

Judge

(async function*(context: Context): Challenge {
  yield (await context.run()).assertEquals(`The name game!

Shirley!
Shirley, Shirley, bo Birley
Bonana fanna fo Firley
Fee fy mo Mirley, Shirley!

Lincoln!
Lincoln, Lincoln, bo Bincoln
Bonana fanna fo Fincoln
Fee fy mo Mincoln, Lincoln!

Come on everybody
I say now let's play a game
I betcha I can make a rhyme, out of anybody's name
The first letter of the name, I treat it like it wasn't there
But a "B" or an "F", or an "M" will appear
And then I say "Bo", add a "B", then I say the name
Then "bonana fanna" and "fo"
And then I say the name again with an "F" very plain
Then a "fee fy" and a "mo"
And then I say the name again with an "M" this time
And there isn't any name that I can't rhyme.

Arnold!
Arnold, Arnold, bo Barnold
Bonana fanna fo Farnold
Fee fy mo Marnold, Arnold!

But if the first two letters are ever the same
I drop them both, then say the name
Like Bob, Bob, drop the "B's", Bo-ob
Or Fred, Fred, drop the "F's", Fo-red
Or Mary, Mary, drop the "M's", Mo-ary
That's the only rule that is contrary
Okay?

Now say Bo
Bo!
Now Tony with a "B"
Bony!
Then "bonana fanna" and "fo"
Bonana fanna fo!
Then you say the name again with an "F" very plain
Fony!
Then a "fee fy" and a "mo"
Fee fy mo!
Then you say the name again with an "M" this time
Mony!
And there isn't any name that you can't rhyme.

Everybody do Tony!
Tony, Tony, bo Bony
Bonana fanna fo Fony
Fee fy mo Mony, Tony!

Pretty good, let's do Billy!
Billy, Billy, Bo-gilly
Bonana fanna fo Filly
Fee fy mo Milly, Billy!

Very good, let's do Marsha!
Marsha, Marsha, bo Barsha
Bonana fanna fo Farsha
Fee fy Mo-arsha, Marsha!

A little trick with Nick!
Nick, Nick, bo Bick
Bonana fanna fo Fick
Fee fy mo Mick, Nick!

The name game!`);
  return context.noFailures();
})

Example Code

console.log(`The name game!

Shirley!
Shirley, Shirley, bo Birley
Bonana fanna fo Firley
Fee fy mo Mirley, Shirley!

Lincoln!
Lincoln, Lincoln, bo Bincoln
Bonana fanna fo Fincoln
Fee fy mo Mincoln, Lincoln!

Come on everybody
I say now let's play a game
I betcha I can make a rhyme, out of anybody's name
The first letter of the name, I treat it like it wasn't there
But a "B" or an "F", or an "M" will appear
And then I say "Bo", add a "B", then I say the name
Then "bonana fanna" and "fo"
And then I say the name again with an "F" very plain
Then a "fee fy" and a "mo"
And then I say the name again with an "M" this time
And there isn't any name that I can't rhyme.

Arnold!
Arnold, Arnold, bo Barnold
Bonana fanna fo Farnold
Fee fy mo Marnold, Arnold!

But if the first two letters are ever the same
I drop them both, then say the name
Like Bob, Bob, drop the "B's", Bo-ob
Or Fred, Fred, drop the "F's", Fo-red
Or Mary, Mary, drop the "M's", Mo-ary
That's the only rule that is contrary
Okay?

Now say Bo
Bo!
Now Tony with a "B"
Bony!
Then "bonana fanna" and "fo"
Bonana fanna fo!
Then you say the name again with an "F" very plain
Fony!
Then a "fee fy" and a "mo"
Fee fy mo!
Then you say the name again with an "M" this time
Mony!
And there isn't any name that you can't rhyme.

Everybody do Tony!
Tony, Tony, bo Bony
Bonana fanna fo Fony
Fee fy mo Mony, Tony!

Pretty good, let's do Billy!
Billy, Billy, Bo-gilly
Bonana fanna fo Filly
Fee fy mo Milly, Billy!

Very good, let's do Marsha!
Marsha, Marsha, bo Barsha
Bonana fanna fo Farsha
Fee fy Mo-arsha, Marsha!

A little trick with Nick!
Nick, Nick, bo Bick
Bonana fanna fo Fick
Fee fy mo Mick, Nick!

The name game!`)

Comments

mousetail
mousetail
This suggestion will automatically be accepted if it gets enough 👍
accepted

Suggestion to edit description

Output
Expected
2 identical lines skipped Print the lyrics to the song **The Name Game** Print the lyrics to the song **The Name Game** Try lyrics are as follows: > The name game! > > Shirley! > Shirley, Shirley, bo Birley > Bonana fanna fo Firley > Fee fy mo Mirley, Shirley! > > Lincoln! > Lincoln, Lincoln, bo Bincoln > Bonana fanna fo Fincoln > Fee fy mo Mincoln, Lincoln! > > Come on everybody > I say now let's play a game > I betcha I can make a rhyme, out of anybody's name > The first letter of the name, I treat it like it wasn't there > But a "B" or an "F", or an "M" will appear > And then I say "Bo", add a "B", then I say the name > Then "bonana fanna" and "fo" > And then I say the name again with an "F" very plain > Then a "fee fy" and a "mo" > And then I say the name again with an "M" this time > And there isn't any name that I can't rhyme. > > Arnold! > Arnold, Arnold, bo Barnold > Bonana fanna fo Farnold > Fee fy mo Marnold, Arnold! > > But if the first two letters are ever the same > I drop them both, then say the name > Like Bob, Bob, drop the "B's", Bo-ob > Or Fred, Fred, drop the "F's", Fo-red > Or Mary, Mary, drop the "M's", Mo-ary > That's the only rule that is contrary > Okay? > > Now say Bo > Bo! > Now Tony with a "B" > Bony! > Then "bonana fanna" and "fo" > Bonana fanna fo! > Then you say the name again with an "F" very plain > Fony! > Then a "fee fy" and a "mo" > Fee fy mo! > Then you say the name again with an "M" this time > Mony! > And there isn't any name that you can't rhyme. > > Everybody do Tony! > Tony, Tony, bo Bony > Bonana fanna fo Fony > Fee fy mo Mony, Tony! > > Pretty good, let's do Billy! > Billy, Billy, Bo-gilly > Bonana fanna fo Filly > Fee fy mo Milly, Billy! > > Very good, let's do Marsha! > Marsha, Marsha, bo Barsha > Bonana fanna fo Farsha > Fee fy Mo-arsha, Marsha! > > A little trick with Nick! > Nick, Nick, bo Bick > Bonana fanna fo Fick > Fee fy mo Mick, Nick! > > The name game!
mousetail
mousetail

Message is still weirdly formatted

NicknamedTwice
NicknamedTwice
This suggestion will automatically be accepted if it gets enough 👍
accepted

Suggestion to edit description

Output
Expected
5 identical lines skipped > The name game! The name game! > > Shirley! Shirley! > Shirley, Shirley, bo Birley Shirley, Shirley, bo Birley > Bonana fanna fo Firley Bonana fanna fo Firley > Fee fy mo Mirley, Shirley! Fee fy mo Mirley, Shirley! > > Lincoln! Lincoln! > Lincoln, Lincoln, bo Bincoln Lincoln, Lincoln, bo Bincoln > Bonana fanna fo Fincoln Bonana fanna fo Fincoln > Fee fy mo Mincoln, Lincoln! Fee fy mo Mincoln, Lincoln! > > Come on everybody Come on everybody > I say now let's play a game I say now let's play a game > I betcha I can make a rhyme, out of anybody's name I betcha I can make a rhyme, out of anybody's name > The first letter of the name, I treat it like it wasn't there The first letter of the name, I treat it like it wasn't there > But a "B" or an "F", or an "M" will appear But a "B" or an "F", or an "M" will appear > And then I say "Bo", add a "B", then I say the name And then I say "Bo", add a "B", then I say the name > Then "bonana fanna" and "fo" Then "bonana fanna" and "fo" > And then I say the name again with an "F" very plain And then I say the name again with an "F" very plain > Then a "fee fy" and a "mo" Then a "fee fy" and a "mo" > And then I say the name again with an "M" this time And then I say the name again with an "M" this time > And there isn't any name that I can't rhyme. And there isn't any name that I can't rhyme. > > Arnold! Arnold! > Arnold, Arnold, bo Barnold Arnold, Arnold, bo Barnold > Bonana fanna fo Farnold Bonana fanna fo Farnold > Fee fy mo Marnold, Arnold! Fee fy mo Marnold, Arnold! > > But if the first two letters are ever the same But if the first two letters are ever the same > I drop them both, then say the name I drop them both, then say the name > Like Bob, Bob, drop the "B's", Bo-ob Like Bob, Bob, drop the "B's", Bo-ob > Or Fred, Fred, drop the "F's", Fo-red Or Fred, Fred, drop the "F's", Fo-red > Or Mary, Mary, drop the "M's", Mo-ary Or Mary, Mary, drop the "M's", Mo-ary > That's the only rule that is contrary That's the only rule that is contrary > Okay? Okay? > > Now say Bo Now say Bo > Bo! Bo! > Now Tony with a "B" Now Tony with a "B" > Bony! Bony! > Then "bonana fanna" and "fo" Then "bonana fanna" and "fo" > Bonana fanna fo! Bonana fanna fo! > Then you say the name again with an "F" very plain Then you say the name again with an "F" very plain > Fony! Fony! > Then a "fee fy" and a "mo" Then a "fee fy" and a "mo" > Fee fy mo! Fee fy mo! > Then you say the name again with an "M" this time Then you say the name again with an "M" this time > Mony! Mony! > And there isn't any name that you can't rhyme. And there isn't any name that you can't rhyme. > > Everybody do Tony! Everybody do Tony! > Tony, Tony, bo Bony Tony, Tony, bo Bony > Bonana fanna fo Fony Bonana fanna fo Fony > Fee fy mo Mony, Tony! Fee fy mo Mony, Tony! > > Pretty good, let's do Billy! Pretty good, let's do Billy! > Billy, Billy, Bo-gilly Billy, Billy, Bo-gilly > Bonana fanna fo Filly Bonana fanna fo Filly > Fee fy mo Milly, Billy! Fee fy mo Milly, Billy! > > Very good, let's do Marsha! Very good, let's do Marsha! > Marsha, Marsha, bo Barsha Marsha, Marsha, bo Barsha > Bonana fanna fo Farsha Bonana fanna fo Farsha > Fee fy Mo-arsha, Marsha! Fee fy Mo-arsha, Marsha! > > A little trick with Nick! A little trick with Nick! > Nick, Nick, bo Bick Nick, Nick, bo Bick > Bonana fanna fo Fick Bonana fanna fo Fick > Fee fy mo Mick, Nick! Fee fy mo Mick, Nick! > > The name game! The name game!
mousetail
mousetail

oh its still formatted weirdly

mousetail
mousetail

This is a top level comment

Mukundan314
Mukundan314
This suggestion will automatically be accepted if it gets enough 👍
accepted

Suggestion to edit description

Output
Expected
5 identical lines skipped ``` The name game! The name game! 70 identical lines skipped The name game! The name game! ```
Mukundan314
Mukundan314

we need a markdown preview