Retired

Pirate Battle - Fight or Flee? (retired)

Description
Loading description...
Fundamentals
Arrays
  • Please sign in or sign up to leave a comment.
  • Blind4Basics Avatar

    Hi,

    • No random tests
    • the context is good, but this kind of task has already been done a lot on CW, so it's merely a duplicate and/or "not a novel idea".

    If you're interested in authoring kata, you should dig into the documentation, to get an idea about what is expected or not, and what has chances to survive the beta process or not.

    Cheers

    • Tarrega88 Avatar

      Cheers, thanks. I'm fairly new to this - I may be doing randomization incorrectly but I thought I had it in there.

      I'll check out the guidelines more- I was mainly interested in the process of making a kata- it's okay with me if this first one fails to get past beta. If you have any more suggestions I'd appreciate them.

    • Blind4Basics Avatar

      oh, you actually have random tests, but you put the code in the preloaded section (which is to be avoided for various reasons. Mostly: the user can mess with what's in the preloaded section).

      There are some examples of tests suites in the docs, an dyou can read the code from other (recent) kata to see how it's usually done.

      Cheers

    • Tarrega88 Avatar

      Thanks Blind, I'll take a closer look.