Game Fields |
Name | Description | |
---|---|---|
blackPieces |
The number of black pieces
| |
board | ||
capturedPiece |
The piece (if any) that has been captured.
| |
currentPlayer |
The current player
| |
gameOver | ||
gameType | ||
kingCaptured |
A Boolean representing if the king has been captured or not.
| |
kingEscaped |
A Boolean representing if the king has escaped or not.
| |
moveNotation |
A String to store the move notation
| |
pieceCaptured |
A Boolean representing if a piece has been captured or not.
| |
player1 |
The Attacking Player
| |
player2 |
The Defending Player
| |
score |
The score for this Game | |
simulated | ||
stateHistory |
Contains all previous Board objects so that a move can be undone.
| |
turnCount |
The current turn count;
| |
whitePieces |
The number of white pieces
|