Square

constructor(notation: String)

Constructs a Square from algebraic notation (e.g., "e4").

Parameters

notation

The algebraic notation of the square.

Throws

if the notation is invalid.


constructor(file: File, rank: Rank)