Input (grade 8): Each chess piece has its own style of moving. In the diagrams, the dots mark the squares where the piece can move if no other pieces (including one's own piece) are on the squares between the piece's initial position and its destination.
Output (grade 6): If a piece lands on an opponent's piece, the opposing piece is taken off the board.