Ad
  • Custom User Avatar

    The description contains a wrong description of the actual logic. The actual logic would be as follows:

    • A sculk sensor is triggered whenever a player action is within a distance of 8 (Euclidean distance) of it
    • A sculk shrieker is triggered whenever a sculk sensor within a distance of 8 (Euclidean distance) of it is triggered
    • A warden spawns if there have been 3 or more of sculk shriekers being triggered (not necessarily from the same/distinct ones)
    • Also, a warden spawns if a player action is directly at a sculk shrieker
  • Custom User Avatar

    The description needs way more clarification.

    • what coordinate system convention is used for player_action => it isn't clear if it's (y,x) or (x,y)
    • it isn't mentioned that player actions can happen outside of the map
    • how is radius supposed to be calculated? Is it inclusive (i.e. up to and including 8)?
    • a small example in the description would probably help significantly
  • Custom User Avatar

    Hi,

    That's a duplicate, sorry. Unpublishing.

    If you're interested in authoring kata, you should read the documentation for a better view of the general context.

    Cheers

  • Custom User Avatar

    Python is not C, so there is no need to pass in the length of the array as an argument.