6 kyu

The Rhinestone Cowboy ~ Count the dollars in his boots!

187 of 395user8476848
Description
Loading description...
Algorithms
ASCII Art
  • Please sign in or sign up to leave a comment.
  • hobovsky Avatar

    Python, possibly other languages: ASCII art of boots in titles of test cases does not work well. Boots could be presented in a better way, for example with <LOG::> on failure.

  • JohanWiltink Avatar

    Description markup is wrong.

  • ejini战神 Avatar
    • Node 12 should be enabled (Refer this and this for more info)

    • Python new test framework should be used (Refer this & this for more detail)

    • Ruby 3.0 should be enabled (Refer this & this for more detail)

  • ejini战神 Avatar

    One of the most creative katas on site :))

  • GiacomoSorbi Avatar

    And Crystal translation submitted, totally not ripping your own Ruby version. "It's true, believe me! Everybody says so!"</trump>

  • Insti Avatar

    Ruby: Basic tests should not all have symmetrical boots to help detect the (crazy) right, left ordering expected in the output.

  • Insti Avatar

    This comment has been hidden.

  • Blind4Basics Avatar

    Hi,

    I agree with Caders about the inversion of right and left between the answer string and the boot list (EDIT : Er... actually, this is something else that what Caders said... ;-o ). Also, I think you should exactly explain what you call "the top half of the boot"... Because I assumed at the beginning it was what it is, meaning the top half of the number of lines used to desribe a boot, but actually this is not at all. So you may precise that the middle half is the whole part before the & or something like that.

    Either way, the idea is quite original ! ;)

    Regards

    • user8476848 Avatar

      Hello my friend..... I have updated the description .Thanks for the feedback.

      Suggestion marked resolved by user8476848 8 years ago
    • Insti Avatar

      Maybe 'boot leg' would be better than 'top half of the boot'

      I'd also add some text to the description that said that the test boots would be well formed and always the same size.

    • user8476848 Avatar

      Description is updated, thanks again for the feedback.

  • Caders Avatar

    I would suggest changing the inconsistency between description and tests, as the overview says:

    This Rhinestone Cowboy has two dollar bills in his right boot and one in the left
    

    When you actually expect the format:

    This Rhinestone Cowboy has 2 dollar bills in his right boot and 1 in the left