Chuck Norris III - Cage Match
Description:

It's Friday night, and Chuck is bored. He's already run 1,000 miles, stopping only to eat a family sized bag of Heatwave Doritos and a large fistful of M&Ms. He just can't stop thinking about kicking something!
There is only one thing for it, Chuck heads down to his local MMA gym and immediately challenges every fighter there to get in the cage and try and take him down... AT THE SAME TIME!
You are provided an array of strings that represent the cage and Chuck's opponents. Your task, in traditional Chuck style, is to take their heads off!! Throw punches, kicks, headbutts (or more likely - regex or iteration...) but whatever you do, remove their heads. Return the same array of strings, but with the heads ('O') removed and replaced with a space (' ').
If the provided array is empty, or is an empty string, return 'Gym is empty'. If you are given an array of numbers, return 'This isn't the gym!!'.
FIGHT!!
Original design of this kata was a much more beautiful thing - the test cases illustrate the idea, and the intended output. I am unable to make the actual output go over multiple lines so for now at least you will have to imagine the beauty!
Similar Kata:
Stats:
Created | Apr 7, 2016 |
Published | Apr 9, 2016 |
Warriors Trained | 1573 |
Total Skips | 23 |
Total Code Submissions | 4496 |
Total Times Completed | 856 |
JavaScript Completions | 396 |
Python Completions | 407 |
Ruby Completions | 86 |
Julia Completions | 10 |
Total Stars | 16 |
% of votes with a positive feedback rating | 84% of 203 |
Total "Very Satisfied" Votes | 155 |
Total "Somewhat Satisfied" Votes | 32 |
Total "Not Satisfied" Votes | 13 |
Total Rank Assessments | 10 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |