| Package | Description |
|---|---|
| org.alcibiade.chess.persistence | |
| org.alcibiade.chess.rules |
| Modifier and Type | Method and Description |
|---|---|
String |
PgnMarshaller.convertMoveToPgn(ChessPosition position,
ChessMovePath move) |
String |
PgnMarshallerImpl.convertMoveToPgn(ChessPosition position,
ChessMovePath move) |
| Modifier and Type | Method and Description |
|---|---|
static ChessBoardModel |
ChessHelper.applyMove(ChessRules rules,
ChessPosition position,
ChessMovePath move)
Convenient method to apply a move on a position.
|
static ChessBoardModel |
ChessHelper.applyMoveAndSwitch(ChessRules rules,
ChessPosition position,
ChessMovePath move)
Convenient method to apply a move on a position and switch the next player flag.
|
List<ChessBoardUpdate> |
ChessRulesImpl.getUpdatesForMove(ChessPosition position,
ChessMovePath path) |
List<ChessBoardUpdate> |
ChessRules.getUpdatesForMove(ChessPosition position,
ChessMovePath path) |
static boolean |
ChessHelper.isCheck(ChessRules rules,
ChessPosition position,
ChessMovePath move,
boolean swapSides)
Check if a move would lead to a Check situation.
|
Copyright © 2016. All Rights Reserved.