• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
smolen Avatar
Name:Unknown
Clan:Unknown
Member Since:Sep 2015
Last Seen:Dec 2024
Profiles:
Following:10
Followers:25
Allies:6
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (77)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • delnecesario
    • commented on "Mine Sweeper" kata
    • 9 months ago

    You should write a function with which you can print the board at any moment with all the information that you need. And don't try to solve this kata in the browser, I think the complexity demands an IDE / Editor with debugging capabilities

  • Custom User Avatar
    • teranetmk
    • commented on "Over The Road" javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • Shikiiii
    • commented on "Mine Sweeper" kata
    • 4 years ago

    Haven't done this kata, but I assume the open method either returns or prints something. That's up to you.
    And about the whole mine field, it's passed as an argument map, but the updated one you should have it saved yourself to a variable.
    Hope I'm able to help.

  • Custom User Avatar
    • StepBack13
    • commented on "Filter valid romans" kata
    • 4 years ago

    Yeah, same. This is such a fun site to practice RegExp on... I had run out of RegEx challenges on most other sites! xD

  • Custom User Avatar
    • phildinius
    • commented on "Cancer cells" javascript solution
    • 6 years ago

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

  • Custom User Avatar
    • sazzadshopno
    • commented on "Add All" kata
    • 7 years ago

    :-D

  • Custom User Avatar
    • ggorlen
    • commented on "Kebabize" kata
    • 7 years ago

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

  • Custom User Avatar
    • anter69
    • commented on "Kebabize" kata
    • 7 years ago

    Approved, although I just realized that test cases and example tests are mixed up.

  • Custom User Avatar
    • bdupau
    • commented on "Evaluate mathematical expression" javascript solution
    • 8 years ago

    I think this one's quite clear actually

  • Custom User Avatar
    • wthit56
    • commented on "String indexOf (and lastIndexOf) with regex" kata
    • 8 years ago

    Cheers!

  • Custom User Avatar
    • docgunthrop
    • commented on "String indexOf (and lastIndexOf) with regex" kata
    • 8 years ago

    Glad to see the test cases have been updated; it's a more robust kata now.

  • Custom User Avatar
    • wthit56
    • commented on "String indexOf (and lastIndexOf) with regex" kata
    • 8 years ago

    And @ASDF, any failure to match should return -1, that's correct.

  • Custom User Avatar
    • wthit56
    • commented on "String indexOf (and lastIndexOf) with regex" kata
    • 8 years ago

    Thanks guys! I've added some more knotty tests to push your code harder. Please let me know if there are still holes in the tests though...

  • Custom User Avatar
    • ASDFGerte
    • commented on "String indexOf (and lastIndexOf) with regex" kata
    • 8 years ago

    Yes. From what i can see, a lot of solutions should fail. E.g. i read the description as "asdf".indexOf(".") should be -1? My solution also is improper and should fail (ignores the second variable for the string case of lastIndexOf) but passes all tests.

  • Custom User Avatar
    • evgv
    • commented on "Lost number in number sequence" php solution
    • 8 years ago

    Thank you, good idea, I'll try to write one of these days.

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...