PieceType.pawn constructor

PieceType.pawn()

Implementation

factory PieceType.pawn() => PieceType.fromBetza(
      'fmW' // moves forward one square
      'fceF' // captures diagonally forward one square
      'ifmnD', // on the first move, moves forward two squares
      promoOptions: PiecePromoOptions.promotable,
      enPassantable: true,
      noSanSymbol: true,
      value: 100,
    );