This repository has been archived by the owner on Nov 27, 2021. It is now read-only.
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