Package Piece

Class Rook

java.lang.Object
Piece.Piece
Piece.Rook

public class Rook extends Piece
Represents a Rook chess piece with movement logic restricted to move vertically or horizontally.

This class handles the initialization, rendering, and valid move logic for a rook. The rook moves vertically or horizontally across the board and can travel any number of tiles as long as its path is unobstructed.

See Also: