기출 문제 / 삼성 2020 First Half Morning Problem 2

Hide-and-Seek Chess

We are going to play Hide-and-Seek Chess on a 4×4 chessboard. In Hide-and-Seek Chess, only one seeker piece is used to capture thief pieces, and each time the seeker captures a thief piece, it adopts the direction of the captured thief piece. The direction of a piece refers to the directions in which it can move, corresponding to the 8 possible directions: up, down, left, right, and diagonals.