chessops
Preparing search index...
attacks
pawnAttacks
Function pawnAttacks
pawnAttacks
(
color
:
"black"
|
"white"
,
square
:
number
)
:
SquareSet
Gets squares attacked or defended by a pawn of the given
color
on
square
.
Parameters
color
:
"black"
|
"white"
square
:
number
Returns
SquareSet
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
chessops
Loading...
Gets squares attacked or defended by a pawn of the given
color
onsquare
.