Package | Description |
---|---|
net.viktorc.detroid.framework.engine |
Modifier and Type | Method and Description |
---|---|
PositionStateRecord |
Position.getLastState() |
Modifier and Type | Method and Description |
---|---|
ArrayDeque<PositionStateRecord> |
Position.getStateHistory() |
Modifier and Type | Method and Description |
---|---|
long |
ZobristKeyGenerator.getUpdatedOffBoardHashKey(long key,
PositionStateRecord prevState,
byte whiteCastlingRights,
byte blackCastlingRights,
byte enPassantRights)
It updates a position's hash key with off-board state information such as the side to move, castling rights, and en passant rights.
|
Copyright © 2020. All rights reserved.