
Given a square chess board passed as a single argument, decide whether the King is currently under attack by any other piece.
./chess_check $'B....\n.....\n..K..\n.....\n.....'Success./chess_check $'.....\n.....\n..K..\n.....\n.....'Failchess_check.cwrite
Run the tests to grade your code
Given a square chess board passed as a single argument, decide whether the King is currently under attack by any other piece.
./chess_check $'B....\n.....\n..K..\n.....\n.....'Success./chess_check $'.....\n.....\n..K..\n.....\n.....'Failchess_check.cwrite
Run the tests to grade your code
Memory will appear here