Skip to content
This repository has been archived by the owner on Nov 27, 2021. It is now read-only.

2.6.2

Compare
Choose a tag to compare
@timmyRS timmyRS released this 14 Sep 23:20
· 16 commits to master since this release
  • 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