So i know i didn't do this like the others. I had planned on doing the extra credit tonight so I started refactoring it in ways it would be easer to add the planned features later. I added a private fight! method that will run all 13 rounds and add the winner to an array. To decide who won the match i search the array for the number of times that fighters name is in the winner array.
I look forward to seeing how some of the other, more proficient developers solve this problem.
Refactored fight and winner code, added turn results messages
You used a #select here ... I think an #each would work better... A select is used to reduce the array down by returning true/false to use again later.
Good stuff here!
I think you have a good start here.... The only thing I'd recommend is rather than "puts" out the result, I'd like to be able to replay them again.... So be able to do (after you've fought)
match.turns.each do |turn|
Or something similar
Fixed match rspec, changed turn.select to turn.each per feedback