Ad
  • Custom User Avatar

    Can you post your current solution as a spoiler so i can have a look!

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Hey, if maxScore was 0 then nobody could win, hence there would be no need to play a game. So i think its all good:)

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    No, im not even calling that function. It says its being called inside the check() method which i dont have access to?

    Bit stumped tbh, any ideas?

  • Custom User Avatar

    Need some help with this error, im on the last bomb and seem to get this?

    TypeError: enjoy.toLowerCase is not a function
        at check
        at Object.diffuse
        at /home/codewarrior/index.js:221:6
        at Object.handleError
    
  • Custom User Avatar

    C++ Translation submitted. Please review and approve.

  • Custom User Avatar

    Hey, this is just a convention i follow when programming regardless of the language. Its not as if it is bad practice but rather personal preference so no need to really change it tbh

  • Custom User Avatar

    Can you explain how this bypasses the kata? Im not familiar with Java test cases but im extremely curious about this solution.

  • Custom User Avatar

    Can you show what the value was to win the match ie. maxScore and also tell us what language you are using?:)

  • Custom User Avatar

    Tests seem to work now. Unknown cause of errors running before

  • Custom User Avatar

    Published by mistake, have an error with random tests, they dont seem to all run for some reason. i will investigate. This is a tricky kata to translate to C++ but im nearly there. ANy help would be appreciated

  • Custom User Avatar

    Hey, you can pass the random tests easily without having bounds checking in your code. My code wasnt properly checking combinations with 00 in them like this R00-R98-R54" so it was failing so i just spammed attempt until the random cases didnt produce an answer with 00 in the code. Maybe add some fixed cases that test for it?

    Anyways, good kata!

  • Custom User Avatar

    Done, thank you :)

  • Custom User Avatar

    @adrian.eyre, agreed, updated the description.

  • Loading more items...