pieceFacingPi property

bool? pieceFacingPi
final

Controls how piece images are rotated/facing in the UI, independently from the board coordinate rotation.

  • When null: keeps existing behavior (pieces use the same rotation as the board)
  • When true: pieces rotate by 180 degrees (pi) regardless of board/turn.
  • When false: pieces do not receive extra 180-degree rotation.

Implementation

final bool? pieceFacingPi;