Class MoveDescriptorAbstract
Methods
Abstract
capturedColoredPiece
- capturedColoredPiece():
| "br"
| "bb"
| "bp"
| "bq"
| "bk"
| "bn"
| "wr"
| "wb"
| "wp"
| "wq"
| "wk"
| "wn" Returns
| "br"
| "bb"
| "bp"
| "bq"
| "bk"
| "bn"
| "wr"
| "wb"
| "wp"
| "wq"
| "wk"
| "wn"
Abstract
coloredPromotion
- coloredPromotion():
| "br"
| "bb"
| "bp"
| "bq"
| "bk"
| "bn"
| "wr"
| "wb"
| "wp"
| "wq"
| "wk"
| "wn" Returns
| "br"
| "bb"
| "bp"
| "bq"
| "bk"
| "bn"
| "wr"
| "wb"
| "wp"
| "wq"
| "wk"
| "wn"
Abstract
enPassantSquare
- enPassantSquare():
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "d1"
| "d2"
| "d3"
| "d4"
| "d5"
| "d6"
| "d7"
| "d8"
| "a1"
| "a2"
| "a3"
| "a4"
| "a5"
| "a6"
| "a7"
| "a8"
| "b1"
| "b2"
| "b3"
| "b4"
| "b5"
| "b6"
| "b7"
| "b8"
| "g1"
| "g2"
| "g3"
| "g4"
| "g5"
| "g6"
| "g7"
| "g8"
| "c1"
| "c2"
| "c3"
| "c4"
| "c5"
| "c6"
| "c7"
| "c8"
| "e1"
| "e2"
| "e3"
| "e4"
| "e5"
| "e6"
| "e7"
| "e8"
| "f1"
| "f2"
| "f3"
| "f4"
| "f5"
| "f6"
| "f7"
| "f8"
| "h7"
| "h8" Returns
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "d1"
| "d2"
| "d3"
| "d4"
| "d5"
| "d6"
| "d7"
| "d8"
| "a1"
| "a2"
| "a3"
| "a4"
| "a5"
| "a6"
| "a7"
| "a8"
| "b1"
| "b2"
| "b3"
| "b4"
| "b5"
| "b6"
| "b7"
| "b8"
| "g1"
| "g2"
| "g3"
| "g4"
| "g5"
| "g6"
| "g7"
| "g8"
| "c1"
| "c2"
| "c3"
| "c4"
| "c5"
| "c6"
| "c7"
| "c8"
| "e1"
| "e2"
| "e3"
| "e4"
| "e5"
| "e6"
| "e7"
| "e8"
| "f1"
| "f2"
| "f3"
| "f4"
| "f5"
| "f6"
| "f7"
| "f8"
| "h7"
| "h8"
Abstract
from
- from():
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "d1"
| "d2"
| "d3"
| "d4"
| "d5"
| "d6"
| "d7"
| "d8"
| "a1"
| "a2"
| "a3"
| "a4"
| "a5"
| "a6"
| "a7"
| "a8"
| "b1"
| "b2"
| "b3"
| "b4"
| "b5"
| "b6"
| "b7"
| "b8"
| "g1"
| "g2"
| "g3"
| "g4"
| "g5"
| "g6"
| "g7"
| "g8"
| "c1"
| "c2"
| "c3"
| "c4"
| "c5"
| "c6"
| "c7"
| "c8"
| "e1"
| "e2"
| "e3"
| "e4"
| "e5"
| "e6"
| "e7"
| "e8"
| "f1"
| "f2"
| "f3"
| "f4"
| "f5"
| "f6"
| "f7"
| "f8"
| "h7"
| "h8" Returns
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "d1"
| "d2"
| "d3"
| "d4"
| "d5"
| "d6"
| "d7"
| "d8"
| "a1"
| "a2"
| "a3"
| "a4"
| "a5"
| "a6"
| "a7"
| "a8"
| "b1"
| "b2"
| "b3"
| "b4"
| "b5"
| "b6"
| "b7"
| "b8"
| "g1"
| "g2"
| "g3"
| "g4"
| "g5"
| "g6"
| "g7"
| "g8"
| "c1"
| "c2"
| "c3"
| "c4"
| "c5"
| "c6"
| "c7"
| "c8"
| "e1"
| "e2"
| "e3"
| "e4"
| "e5"
| "e6"
| "e7"
| "e8"
| "f1"
| "f2"
| "f3"
| "f4"
| "f5"
| "f6"
| "f7"
| "f8"
| "h7"
| "h8"
Abstract
isCapture
- isCapture(): boolean
Returns boolean
Abstract
isCastling
- isCastling(): boolean
Returns boolean
Abstract
isEnPassant
- isEnPassant(): boolean
Returns boolean
Abstract
isPromotion
- isPromotion(): boolean
Returns boolean
Abstract
movingColoredPiece
- movingColoredPiece():
| "br"
| "bb"
| "bp"
| "bq"
| "bk"
| "bn"
| "wr"
| "wb"
| "wp"
| "wq"
| "wk"
| "wn" Returns
| "br"
| "bb"
| "bp"
| "bq"
| "bk"
| "bn"
| "wr"
| "wb"
| "wp"
| "wq"
| "wk"
| "wn"
Abstract
rookFrom
- rookFrom():
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "d1"
| "d2"
| "d3"
| "d4"
| "d5"
| "d6"
| "d7"
| "d8"
| "a1"
| "a2"
| "a3"
| "a4"
| "a5"
| "a6"
| "a7"
| "a8"
| "b1"
| "b2"
| "b3"
| "b4"
| "b5"
| "b6"
| "b7"
| "b8"
| "g1"
| "g2"
| "g3"
| "g4"
| "g5"
| "g6"
| "g7"
| "g8"
| "c1"
| "c2"
| "c3"
| "c4"
| "c5"
| "c6"
| "c7"
| "c8"
| "e1"
| "e2"
| "e3"
| "e4"
| "e5"
| "e6"
| "e7"
| "e8"
| "f1"
| "f2"
| "f3"
| "f4"
| "f5"
| "f6"
| "f7"
| "f8"
| "h7"
| "h8" Returns
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "d1"
| "d2"
| "d3"
| "d4"
| "d5"
| "d6"
| "d7"
| "d8"
| "a1"
| "a2"
| "a3"
| "a4"
| "a5"
| "a6"
| "a7"
| "a8"
| "b1"
| "b2"
| "b3"
| "b4"
| "b5"
| "b6"
| "b7"
| "b8"
| "g1"
| "g2"
| "g3"
| "g4"
| "g5"
| "g6"
| "g7"
| "g8"
| "c1"
| "c2"
| "c3"
| "c4"
| "c5"
| "c6"
| "c7"
| "c8"
| "e1"
| "e2"
| "e3"
| "e4"
| "e5"
| "e6"
| "e7"
| "e8"
| "f1"
| "f2"
| "f3"
| "f4"
| "f5"
| "f6"
| "f7"
| "f8"
| "h7"
| "h8"
Abstract
rookTo
- rookTo():
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "d1"
| "d2"
| "d3"
| "d4"
| "d5"
| "d6"
| "d7"
| "d8"
| "a1"
| "a2"
| "a3"
| "a4"
| "a5"
| "a6"
| "a7"
| "a8"
| "b1"
| "b2"
| "b3"
| "b4"
| "b5"
| "b6"
| "b7"
| "b8"
| "g1"
| "g2"
| "g3"
| "g4"
| "g5"
| "g6"
| "g7"
| "g8"
| "c1"
| "c2"
| "c3"
| "c4"
| "c5"
| "c6"
| "c7"
| "c8"
| "e1"
| "e2"
| "e3"
| "e4"
| "e5"
| "e6"
| "e7"
| "e8"
| "f1"
| "f2"
| "f3"
| "f4"
| "f5"
| "f6"
| "f7"
| "f8"
| "h7"
| "h8" Returns
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "d1"
| "d2"
| "d3"
| "d4"
| "d5"
| "d6"
| "d7"
| "d8"
| "a1"
| "a2"
| "a3"
| "a4"
| "a5"
| "a6"
| "a7"
| "a8"
| "b1"
| "b2"
| "b3"
| "b4"
| "b5"
| "b6"
| "b7"
| "b8"
| "g1"
| "g2"
| "g3"
| "g4"
| "g5"
| "g6"
| "g7"
| "g8"
| "c1"
| "c2"
| "c3"
| "c4"
| "c5"
| "c6"
| "c7"
| "c8"
| "e1"
| "e2"
| "e3"
| "e4"
| "e5"
| "e6"
| "e7"
| "e8"
| "f1"
| "f2"
| "f3"
| "f4"
| "f5"
| "f6"
| "f7"
| "f8"
| "h7"
| "h8"
Abstract
to
- to():
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "d1"
| "d2"
| "d3"
| "d4"
| "d5"
| "d6"
| "d7"
| "d8"
| "a1"
| "a2"
| "a3"
| "a4"
| "a5"
| "a6"
| "a7"
| "a8"
| "b1"
| "b2"
| "b3"
| "b4"
| "b5"
| "b6"
| "b7"
| "b8"
| "g1"
| "g2"
| "g3"
| "g4"
| "g5"
| "g6"
| "g7"
| "g8"
| "c1"
| "c2"
| "c3"
| "c4"
| "c5"
| "c6"
| "c7"
| "c8"
| "e1"
| "e2"
| "e3"
| "e4"
| "e5"
| "e6"
| "e7"
| "e8"
| "f1"
| "f2"
| "f3"
| "f4"
| "f5"
| "f6"
| "f7"
| "f8"
| "h7"
| "h8" Returns
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "d1"
| "d2"
| "d3"
| "d4"
| "d5"
| "d6"
| "d7"
| "d8"
| "a1"
| "a2"
| "a3"
| "a4"
| "a5"
| "a6"
| "a7"
| "a8"
| "b1"
| "b2"
| "b3"
| "b4"
| "b5"
| "b6"
| "b7"
| "b8"
| "g1"
| "g2"
| "g3"
| "g4"
| "g5"
| "g6"
| "g7"
| "g8"
| "c1"
| "c2"
| "c3"
| "c4"
| "c5"
| "c6"
| "c7"
| "c8"
| "e1"
| "e2"
| "e3"
| "e4"
| "e5"
| "e6"
| "e7"
| "e8"
| "f1"
| "f2"
| "f3"
| "f4"
| "f5"
| "f6"
| "f7"
| "f8"
| "h7"
| "h8"
Describe a legal chess move, with its characteristics.