This repository was archived by the owner on Nov 27, 2021. It is now read-only.
Releases: hell-sh/CompactChessOpenings
Releases · hell-sh/CompactChessOpenings
1.1
- Added Opening.moves which contains the list of moves to arrive at the opening in UCI format (and explains the massive increase in file size)
- Opening.fromName will now return Opening or null instead of ArrayList
- Added Opening.getContinuations() which will return all openings which can be reached from the opening
- Added Opening.getContinuations(Game) which will return all openings which can still be reached in the given name
- Added Opening.getFullName() which will simply be the ECO number of the opening followed by its name
- Added Opening.getNextMove(Game) which will return the next move to play to reach the final position of the opening or null if not applicable — Note that this function does not check if the previous moves have been correct
- Added Opening.isUsedIn(Game) which will return a boolean indicating if the opening has been played in the given game
- Added Opening.canBeUsedIn(Game) which will return a boolean indicating if the opening can be played in the given game
- Overloaded some functions to also accept a list of openings, e.g. to only search through continuations.