mwg API
Reference
Overview
Examples
Getting started
Design
FAQ
Preparing search index...
Board
ChessState
Interface ChessState
interface
ChessState
{
board
:
(
ChessPiece
|
null
)
[]
;
castling
:
ChessCastling
;
enPassant
:
number
|
null
;
turn
:
ChessSide
;
}
Index
Properties
board
castling
en
Passant
turn
Properties
board
board
:
(
ChessPiece
|
null
)
[]
castling
castling
:
ChessCastling
en
Passant
enPassant
:
number
|
null
a square a pawn could capture onto, left behind by a double push
turn
turn
:
ChessSide
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
board
castling
en
Passant
turn
Reference
Overview
Examples
Getting started
Design
FAQ
mwg API
Loading...
a square a pawn could capture onto, left behind by a double push