Ad
  • Custom User Avatar

    Hi! There is code in your Viking Move method which is wrong for strategy pattern usage. The idea of strategy is to avoid if-else constructions. Otherwise is new MoveBehavior class is added you will need to change the Move method. The implementation for Viking Move should be just the next:

    public void Move()
    {
    MoveBehavior.Move(this);
    }

    Good luck!

  • Custom User Avatar

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

  • Custom User Avatar

    It'd be a lot easier if you posted your code in a comment with a spoiler tag, enclosing your code in backticks like this:

    ```
    // your code here
    ```
    
  • Custom User Avatar

    Seems strange with 200+ C# completions...

  • Custom User Avatar

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

  • Custom User Avatar

    cliffstamp: please see the issue above; could you fix that?

  • Custom User Avatar

    Haskell version doesn't guarantee generating unique scores (Python and Ruby versions do, so I'm raising this as an issue).

  • Custom User Avatar

    Language? Log?

    In the meantime, I updated the description a little...

  • Custom User Avatar

    i don't understand. i think, there is a requirement that are not described in the task but are present in the random test. in vs with random values it works but here not work.

  • Custom User Avatar

    i don't understand, why codewars don't want to do Convert method... in visual studio all works. what is the special rules at this task?