Commit Graph

20 Commits

Author SHA1 Message Date
Kai S. K. Engelbart b79c592c67
Created getters for all fields in Move 2020-08-15 23:25:35 +02:00
Kai S. K. Engelbart acf6bf36c1
Added RestartEvent to clear move list after game restart 2020-08-15 23:25:34 +02:00
Kai S. K. Engelbart ae9abded19
Changed class Javadoc to use @author and @since tags 2020-08-15 23:25:30 +02:00
Kai S. K. Engelbart 3821ce313d
Moved castling right logging to Log
* Removed move counter from Piece
* Added castling right array to MoveNode and Log
* Removed castling right map from Board
* Added castling right serialization and deserialization to FENString
* Modified LogTest
2020-08-15 23:25:28 +02:00
Kai S. K. Engelbart 7138905501
Enhanced FENString class, added unit test and Board#equals() 2020-08-15 23:25:28 +02:00
Kai S. K. Engelbart 41b75d415d
Renamed FEN string fullmove counter to fullmove number 2020-08-15 23:25:26 +02:00
Kai S. K. Engelbart 9c6faae6ba
Moved MoveNode into a separate file 2020-08-15 23:25:18 +02:00
Kai S. K. Engelbart ff3f064a7f
Fixed LogPanel to support new log data model 2020-08-15 23:25:17 +02:00
Kai S. K. Engelbart 69261303c5
Fixed memory leak, improved copy constructors 2020-08-15 23:25:17 +02:00
Kai S. K. Engelbart 06ab01f585
Fixed Log with respect to variations 2020-08-15 23:25:16 +02:00
Kai S. K. Engelbart 1723c44524
Added variations in Log, added LogTest 2020-08-15 23:25:15 +02:00
Kai S. K. Engelbart b72a8916a0
Fixed Game and Log synchronization on FEN loading 2020-08-15 23:25:06 +02:00
Kai S. K. Engelbart db407122a3
Cleaned up and improved Log
+ Current log state properties
- Removed Log delegates from Board
2020-08-15 23:25:05 +02:00
Kai S. K. Engelbart 9d7d84302e
Working on board loading from FEN-encoded string 2020-08-15 23:25:03 +02:00
Kai S. K. Engelbart e6d4d37848
Implemented LogFrame, added menu item for opening it 2020-08-15 23:25:02 +02:00
Kai S. K. Engelbart 20ccb2aeef
Added log resetting, disabled resizing in MainFrame 2020-08-15 23:24:55 +02:00
Kai S. K. Engelbart 3be4c042bb
Added en passant availability logging and FEN string export 2020-08-15 23:24:53 +02:00
Kai S. K. Engelbart 686b76ed8a
Fixed FEN string export when board is in start position 2020-08-15 23:24:52 +02:00
Kai S. K. Engelbart dc67b624ce
Moved activeColor, fullmoveCounter and halfmoveClock to Log 2020-08-15 23:24:50 +02:00
Kai S. K. Engelbart 9c19b13785
Added move history and pawn promotion
+ Log class for move history
+ LoggedMove class with piece captured by the logged move
- Made move reversion easier
+ MoveType for recognizing special moves
+ MoveType determination during move generation and validation
2020-08-15 23:24:31 +02:00