Commit Graph

6 Commits

Author SHA1 Message Date
2b00116837
Implemented color swapping
+ swapColor method in Board
+ Button for swapping colors in MainWindow
2020-08-15 23:24:46 +02:00
a6fcaee70e
Fixed castling, added castling export to FEN
+ isFreePath implementation in Piece
- Removed isFreePath from Bishop, Rook, Queen and King
+ canCastleKingside and canCastleQueenside methods in King
+ Castling rights record in Board + FEN export

+ equals method in Position
+ UCI 'position startpos' command
- Switched to Java 8 compliance for compatibility reasons
2020-08-15 23:24:46 +02:00
d20fcc10e0
Moved tests in test source folder, replaced GameModeDialog by MenuBar 2020-08-15 23:24:35 +02:00
2f47261848
Added resource folder to class path, implemented proper texture scaling 2020-08-15 23:24:35 +02:00
8283866d62
Fixed rendering
+ Cloning support in Board and Piece
- Using clones for board operations that interfere with rendering
- Fixed repaint calls
+ Unit test for testing board cloning
2020-08-15 23:24:28 +02:00
0e5a88408a
Added Eclipse project and basic class structure
+ Piece icons
+ TextureLoader
+ BoardPanel as a UI for the chess board
+ Chess as a main class
2020-08-15 23:24:14 +02:00