Package Piece

Class King

java.lang.Object
Piece.Piece
Piece.King

public class King extends Piece
Represents a King chess piece with movement logic restricted to 1 chess board tile omnidirectional.

This class handles the initialization, rendering, and valid move logic for a king. The king moves 1 tile omnidirectional across the board as long as its path is unobstructed.

See Also: