• 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
ReganRyanNZ Avatar
Name:Unknown
Clan:Unknown
Member Since:Sep 2015
Last Seen:Oct 2024
Profiles:
Following:1
Followers:2
Allies:1
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (30)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • CobblestoneCobbler
    • commented on "Sum of Two Integers " kata
    • 18 days ago

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

  • Custom User Avatar
    • Foton_mndp
    • commented on "Last digit of a large number" ruby solution
    • 7 years ago

    Thank you very much for explanation.

  • Custom User Avatar
    • Voile
    • resolved an issue on "Enumerable Magic #25 - Take the First N Elements" kata
    • 8 years ago

    Okay, fixed ;-)

  • Custom User Avatar
    • Voile
    • resolved an issue on "Enumerable Magic #21 - Filter that Array!" kata
    • 8 years ago

    This is a beginner kata.

  • Custom User Avatar
    • Voile
    • resolved an issue on "Fabergè Easter Eggs crush test" kata
    • 8 years ago

    I changed the last part of the description, it should be better now.

  • Custom User Avatar
    • Voile
    • commented on "Fabergè Easter Eggs crush test" kata
    • 8 years ago

    Yes.

  • Custom User Avatar
    • Voile
    • commented on "Fabergè Easter Eggs crush test" kata
    • 8 years ago

    We all know that the description is not very good, but unless someone has a good idea how to improve it (and actually edit the kata to replace it), there's not much we can do. I don't think I'm qualified to do this either.

  • Custom User Avatar
    • Unnamed
    • commented on "Fabergè Easter Eggs crush test" kata
    • 8 years ago

    All eggs are identical, it's like a countable resource. You can drop an egg any number of times as long as it hasn't broken. With 2 eggs and 14 tries you can drop until 2 eggs have broken or you reached 14 tries.

  • Custom User Avatar
    • Souzooka
    • commented on "Fabergè Easter Eggs crush test" kata
    • 8 years ago

    Please raise questions about a Kata as a question, not an issue.

    That being said, I haven't completed the Kata but likely eggs decrement when one gets cracked, while tries decrement every time.

  • Custom User Avatar
    • RShields
    • commented on "Cheat Detection" topic
    • 8 years ago

    Theoretically an easy fix. Isolate the user's program and make the only communication between it and the tester the return value.

    In practice, you may just want to prevent users from reassigning the == operator.

  • Custom User Avatar
    • RShields
    • commented on "Calculator" ruby solution
    • 8 years ago

    eval is disabled, but instance_eval is not.

  • Custom User Avatar
    • samajors
    • commented on "Cheat Detection" topic
    • 8 years ago

    I thought of the same thing and passed a kata but didn't submit it because it seemed obviously dishonorable. IDK how this could be detected without some clever parsing, but looking at output types might make the easy cheats harder.

    class trollolol(int):
    def init(self):
    self.value = 'trollolol'
    def eq(self, other):
    return True

    def proper_fractions(n):
    return trollolol()

  • Custom User Avatar
    • Kulgar
    • commented on "Calculator" ruby solution
    • 8 years ago

    I do agree...

  • Custom User Avatar
    • KentuckyKernal
    • commented on "Cheat Detection" topic
    • 8 years ago

    That is pretty clever though.

    Just saying.

  • Custom User Avatar
    • 10XL
    • commented on "The Millionth Fibonacci Kata" ruby solution
    • 9 years ago

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

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...