Retired

Is This Piece Under Threat? (retired)

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

    This comment has been hidden.

  • Blind4Basics Avatar

    Hi,

    Unfortunately, you did a duplicate of this one: https://www.codewars.com/kata/5b5736abf1d553f844000050
    The context isn't exactly the same, but the underlying logic is exactly the same, your kata only adds iterating over the board first, and converting to a boolean for the output.
    Other than that, a well done kata, yes. Note that mixing ints and strings in the input isn't a good idea. You could have used characters for the tiles as well.

    Cheers

  • Scheir Avatar

    Very well written kata, keep 'em coming! I would consider changing the letter for knight to N as K usually represents the King in chess.