Module: Sashite::Feen::Constants Private

Defined in:
lib/sashite/feen/constants.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constants for FEEN (Field Expression Encoding Notation).

FEEN encodes board positions using three space-separated fields: Piece Placement, Hands, and Style-Turn.

Constant Summary collapse

MAX_STRING_LENGTH =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Maximum allowed string length for a FEEN string.

4_096
MAX_DIMENSIONS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Maximum number of board dimensions supported.

3
MAX_INDEX_VALUE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Maximum index value per dimension.

255
FIELD_SEPARATOR =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Field separator (ASCII space).

" "
SEGMENT_SEPARATOR =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Segment separator within Piece Placement and Hands fields.

"/"