Generating a shift The six parts go as follows: The Bishop can move any variety of squares along the diagonal. The Rook can shift any quantity of squares alongside precisely the same rank or file. The Queen can go any quantity of squares along exactly the same rank, file, or diagonal. The Knight moves to the closest square that is certainly neither