This repository has been archived by the owner on Nov 27, 2021. It is now read-only.
Releases: hell-sh/CompactChess
Releases · hell-sh/CompactChess
2.7.0
2.6.5
2.6.4
2.6.3
2.6.2
- Removed Piece and replaced it with Square.pieceColor and Square.pieceType
- Added Game.setPiece(Square, Color, PieceType), and Game.unsetPiece(Square)
- Added Game.getPieces(Color), Game.getPieces(Color, PieceType), and Game.getPieces(PieceType)
- Game.getSquaresControlledBy(Piece) has been replaced by Game.getSquaresControlledBy(Square)
- Invalid promotions will no longer fail instantly due to InvalidMoveException but the move is illegal
- Removed PieceType.scoreValue
- Renamed PieceType.value to PieceType.materialValue
- The King now has a material value of 0 instead of 1
- Square.index() is now public
2.6.1
2.6
2.5
- Removed Game.getScore, Move.getScore, Game.getScoreOf, Game.getBestMove, and BuiltInEngine to keep CompactChess compact while I'm developing the engine privately until it's good enough for the public
- Added Color.opposite()
- Added CountryCode.name
- Implemented PGN Annotation Tags
- Replaced Move.annotation with Move.annotations ArrayList which can be written to using Move.annotate(String) and retrieved as annotation string using Move.getAnnotation(boolean noTags = false)
- Added Move.hasAnnotation(boolean noTags = false)
2.4.1
2.4
- Added CountryCode enum to aid in the creation of proper
Site
tags - Added CGNVersion enum
- Added optional CGNVersion argument to Game.fromCGN and Game.toCGN which defaults to the latest CGN version
- Added support for CGN Version 2
- Improved PGN Importing & Exporting
- Fixed FEN being exported to CGN when not needed