The Name Game!
Description:
SHIRLEY ELLIS - "The Name Game"
https://www.youtube.com/watch?v=5MJLi5_dyn0
I say now let's play a game! I betcha I can make a rhyme out of anybody's name...
Using the name Katie as an example, the song follows this pattern:
Katie! Katie, Katie, bo-batie, bonana-fana-fo-fatie, fee-fy-mo-matie, Katie!
A verse can be created for any name (but NOT without a name), with X as the name and Y as the name without the first consonant sound (if it begins with a consonant), as follows:
(X)! (X), (X), bo-b(Y), bonana-fana fo-f(Y), fee-fy-mo-m(Y), (X)!
And if the name starts with a b, f, or m, that sound simply is not repeated. For example: Billy becomes "Billy, Billy, bo-illy"; Fred becomes "bonana-fana-fo-red"; Marsha becomes "fee-fy-mo-arsha".
If the name starts with a vowel, the verse becomes: "Erin, Erin, bo-berin".
If no name is given, the verse is undefined (i.e. returns undefined).
Similar Kata:
Stats:
Created | May 14, 2016 |
Published | May 15, 2016 |
Warriors Trained | 79 |
Total Skips | 0 |
Total Code Submissions | 117 |
Total Times Completed | 19 |
JavaScript Completions | 19 |
Total Stars | 7 |
% of votes with a positive feedback rating | 83% of 9 |
Total "Very Satisfied" Votes | 6 |
Total "Somewhat Satisfied" Votes | 3 |
Total "Not Satisfied" Votes | 0 |
Total Rank Assessments | 8 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |