Code Implementation — Board & Pieces
Implement the Chess board infrastructure and all six piece types in Python and Java — Position, Cell, Board with initialization, and the full Piece hierarchy with type-specific getValidMoves() for King, Queen, Rook, Bishop, Knight, and Pawn.