Module: AlgebraicConversion

Included in:
Board, Engine, Human
Defined in:
lib/sapphire-chess/algebraic_conversion.rb

Constant Summary collapse

LETTER_RESET_VALUE =

ASCII downcase ‘a’ numeric value: ‘a’.ord

97
ALGEBRAIC_NOTATION_FORMAT =
/[a-h]{1}[1-8]{1}/.freeze
CASTLING_INPUT_FORMAT =
/castle [kq]{1}/.freeze