- On a turn, a player may
- Move 1 piece, then possibly promote it.
- If a piece moves into, out of, or within the promotion zone (your opponent's 3 starting rows), it may be promoted at the end of that turn.
- if a piece moves all the way to the other side of the board, and no longer has any legal moves, it must be promoted immediately.
- Drop 1 captured piece:
- Dropped pieces...
- Are always basic (un-promoted) versions of the piece.
- Cannot be dropped where it will have no legal next moves (such as a pawn at the far edge of the board)
- Are not to be promoted on the turn they are dropped.
- Pawns...
- Cannot be dropped onto columns already containing one of your own un-promoted pawns.
- Cannot be dropped into immediate checkmate.
- Dropped pieces...
- Move 1 piece, then possibly promote it.
-
LoadingBoard
Sends and receives information from server. -
TurnStart
Marks the first opportunity the new current player may begin making selections from either pieces on the board or their captures. -
MoveStart
The current player has selected one of their pieces on the board. Selecting another one of their pieces on the board maintains this phase, shifting the focus to the newly selected piece. Selecting a piece from their captures enters a DropStart phase. This selection assigns the MoveOrigin square, which is watched for square highlight class updates. Selecting a piece form their captures triggers a DropStart phase. -
DropStart
The current player has selected a piece from their captures. Selecting another one of their captured pieces maintains this phase. Selecting a piece form the board triggers a MoveStart phase. -
MoveEnd
Transition concluding a MoveStart or DropStart phase. Creates a new piece in the assigned destination, removes piece at origin, evaluates Promotion condition (possibly triggering PromotionModal). Calls CompleteMove if PromotionModal is not triggered. -
PromoteOption
Occurs when a piece is moved into an applicable PromotionZone. Drops are not eligible for promotion on initial placement. Mandatory promotions do not trigger this modal. Calls CompleteMove on close. -
GameOver
...
- CompleteMove