• 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
Eternal learner Avatar
Name:Unknown
Clan:Unknown
Member Since:Dec 2020
Last Seen:Dec 2020
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (55)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Just4FunCoder
      • resolved a suggestion on "The average of two ASCII chars [code golf]" kata
      • 5 months ago

      Done in above fork

    • Custom User Avatar
      • Just4FunCoder
      • resolved a suggestion on "The average of two ASCII chars [code golf]" kata
      • 5 months ago

      Approved

    • Custom User Avatar
      • Mednoob
      • created a suggestion for "The average of two ASCII chars [code golf]" kata
      • 5 months ago

      Update Fork

      • Implementation for the suggestion below
      • Tests cleanup (using chai for assertion and tests rewrite)
      • Removed the tester(26, 40, 33) test (since it goes against the input constraint)
    • Custom User Avatar
      • Yushi.py
      • created a suggestion for "The average of two ASCII chars [code golf]" kata
      • 5 months ago

      Filter the code for useless character before asserting the code length restriction. That way the user may keep comments and whitespace in their solution.

    • Custom User Avatar
      • iNont
      • commented on "The average of two ASCII chars [code golf]" kata
      • 4 years ago

      I think our solutions might be failed with 128+128 as inputs but they only allow 32-126, so that is not a problem.

    • Custom User Avatar
      • webmisfit
      • commented on "La La Land [code golf]" kata
      • 5 years ago

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

    • Custom User Avatar
      • rowcased
      • commented on "La La Land [code golf]" kata
      • 5 years ago

      ha!

    • Custom User Avatar
      • Eternal learner
      • commented on "La La Land [code golf]" kata
      • 5 years ago

      +1

    • Custom User Avatar
      • JohanWiltink
      • commented on "La La Land" kata
      • 5 years ago

      You're welcome!

      Keep the "[code golf]" in the title?

      "Co Co Code Golf" !? :D

    • Custom User Avatar
      • Eternal learner
      • resolved a suggestion on "La La Land" kata
      • 5 years ago

      Alright its now named La La Land.

      Thanks for that

    • Custom User Avatar
      • JohanWiltink
      • created a suggestion for "La La Land" kata
      • 5 years ago

      Just call it "La La Land"?

    • Custom User Avatar
      • Eternal learner
      • commented on "[code golf] think of a name for Kata while solving it thanks" kata
      • 5 years ago

      Alright @JohanWiltink.

      Will remove describe header.

      switch to assert.isAtMost as well (thanks for that)

    • Custom User Avatar
      • JohanWiltink
      • commented on "[code golf] think of a name for Kata while solving it thanks" kata
      • 5 years ago

      OK, that's fixed.

      In JavaScript, it's not necessary to wrap the tests in an IIFE.

      You can also leave out the describe-headers if you want. Not the it-headers, those are mandatory. The describe-headers do not add anything in this case.

      In general, please, write the most readable code you can for tests. Translators, or people who have to make upgrades because some day, Node 12.x will be retired, will thank you.

      You could use assert.isAtMost for the code length check. The default failure message will already make sense.

      it("It checks whether code length is ok",()=>{
        asssert.isAtMost( sourcecode.length, 44 );
      });
      
    • Custom User Avatar
      • Eternal learner
      • resolved an issue on "[code golf] think of a name for Kata while solving it thanks" kata
      • 5 years ago

      Alright there we go. the kata has been fixed. you may try it out

      And kindly if u downvoted do upvote (thnx)

    • Custom User Avatar
      • Eternal learner
      • commented on "[code golf] think of a name for Kata while solving it thanks" kata
      • 5 years ago

      .

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...