Type alias Coordinates

Coordinates: { file: number; rank: number }

Rank index and file index of a chessboard square.

Type declaration

  • file: number
    • 0 for file A
    • 1 for file B
    • ...
    • 7 for file H
  • rank: number
    • 0 for rank 1
    • 1 for rank 2
    • ...
    • 7 for rank 8

Generated using TypeDoc