[Community Puzzle] Is the King In Check? (Part 2)

https://www.codingame.com/training/medium/is-the-king-in-check-part-2

Send your feedback or ask for help here!

Created by @DrQuarius,validated by @GeekNbOne,@anon55364143 and @EliteDaMyth.
If you have any issues, feel free to ping them.

Continuing the discussion from [Community Puzzle] Is the King In Check? (Part 2):

Hello @DrQuarius ,

There is a minor errata on the first statement’s example:
_ _ _ _ Q _ _ _
_ _ _ _ _ _ _ _
_ _ _ N _ _ _ _
_ k _ _ _ _ _ _
_ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _
In the above diagram, the Queen is not able to attack the King, but the Knight is, so the repsonse is “Check”.

However, Queen or Knight can attack the King
BR