Commit Graph

94 Commits

Author SHA1 Message Date
Kai S. K. Engelbart 54e4a0e2e4 Fixed memory leak, improved copy constructors 2019-09-19 21:31:24 +02:00
Kai S. K. Engelbart 1ecafa5485 Fixed Log with respect to variations 2019-09-18 15:00:31 +02:00
Kai S. K. Engelbart c987bfcebb Added variations in Log, added LogTest 2019-09-13 18:13:34 +02:00
Kai S. K. Engelbart 3941a75c91 Changed unit test package structure
- Changed unit test package structure to match src
- Refactored PositionTest
+ TestToString method in PositionTest
2019-09-10 21:15:31 +02:00
Kai S. K. Engelbart 249480724a Refactoring
- Simplified FEN-string generation
- Made GameConfigurationDialog a utility class
2019-09-09 19:05:57 +02:00
Kai S. K. Engelbart 216877b76b Added LogPanel to GamePane 2019-09-09 06:14:37 +02:00
Kai S. K. Engelbart 19712a2bb7 Refactoring and documentation, improved FEN integration
+ Adding a new game when loading a FEN string
+ Loading multiple FEN files with drag and drop
2019-09-08 21:37:47 +02:00
Kai S. K. Engelbart 08ac0ac114 Fixed frozen game after adding a new one 2019-09-06 13:24:58 +02:00
Kai S. K. Engelbart de9cd05602 Opening the new tab after starting a game 2019-09-01 18:57:31 +02:00
Kai S. K. Engelbart 3b73cd1efb Added creation of new game tabs
- Switched to GridBagLayout in GamePane
- New games created in MenuBar are appended to the tabbed pane in
MainWindow
+ LogPanel class for displaying the game log inside a GamePane
- Removed LogFrame in favor of LogPanel
2019-09-01 12:45:06 +02:00
Kai S. K. Engelbart 964de02e24 Associated DropTarget with MainWindow
When a FEN file is dropped into the main window, the drop target
automatically loads it into the currently visible (=selected) game.
2019-08-24 16:04:09 +02:00
Kai S. K. Engelbart 76fa3859ef Added game tab support
+ GamePane component with the game displaying functionality from
MainWindow
- Simplified MainWindow, added JTabbedPane with GamePane elements
- Adjusted FENDropTarget and MenuBar
2019-08-23 22:00:30 +02:00
Kai S. K. Engelbart c1a8589a04 Fixed documentation 2019-08-23 21:10:19 +02:00
Kai S. K. Engelbart 358654b1ed Added drag and drop support for FEN files 2019-08-14 20:17:28 +02:00
Kai S. K. Engelbart 8e2af63c35 Improved documentation in Board 2019-08-13 06:16:10 +02:00
Kai S. K. Engelbart 642a0bf4d1 Fixed Game and Log synchronization on FEN loading 2019-08-13 05:59:47 +02:00
Kai S. K. Engelbart 3ea48ef21b Implemented loadFromFen method in Board 2019-08-13 05:43:26 +02:00
Kai S. K. Engelbart d121e85897 Cleaned up and improved Log
+ Current log state properties
- Removed Log delegates from Board
2019-08-12 06:44:55 +02:00
Kai S. K. Engelbart 14c7167ce4 Changed event model
+ MoveEvent
2019-08-07 18:54:00 +02:00
Kai S. K. Engelbart 90c100e0e1 Working on board loading from FEN-encoded string 2019-08-05 21:02:54 +02:00
Kai S. K. Engelbart e7af9f40c2 Implemented LogFrame updating
+ Export to SAN in move
+ Updating LogFrame after a move
- Turned EventBus into a singleton
2019-08-04 14:40:25 +02:00
Kai S. K. Engelbart 3d8877ddbd Implemented LogFrame, added menu item for opening it 2019-08-03 21:48:10 +02:00
Kai S. K. Engelbart 83c6e48f03 Added event package with EventBus class 2019-08-02 18:46:00 +02:00
Kai S. K. Engelbart 1ce8b8355a Fixed and fully implemented UCI 'info' command parsing
- Except for 'currline' which is a feature requested by the GUI and thus
optional
2019-08-01 21:34:01 +02:00
Kai S. K. Engelbart 36597ac6f1 Fixed parsing score and after score 2019-08-01 19:01:17 +02:00
Kai S. K. Engelbart e72297bebf UCI refactoring
+ Multiple listener support in UCIHandle
+ UCIInfo class
- Moved info and option parsing into the respective classes
- Removed unimplemented UCI callback methods from UCIPlayer
2019-07-31 17:47:49 +02:00
Kai S. K. Engelbart 545f946aa0 Simplified EngineUtil and MenuBar 2019-07-30 06:18:24 +02:00
Kai S. K. Engelbart 984bedfafe Implemented en passant 2019-07-28 13:51:10 +02:00
Kai S. K. Engelbart cac235a0db Fixed letter alignment below the board 2019-07-28 09:43:53 +02:00
Kai S. K. Engelbart 1f5242935f Added board coordinates 2019-07-27 09:34:40 +02:00
Kai S. K. Engelbart 51558797cc Added border around board, changed display order in OverlayComponent 2019-07-27 08:06:43 +02:00
Kai S. K. Engelbart ae38e67a90 Added naming support in Player and subclasses 2019-07-26 16:14:22 +02:00
Kai S. K. Engelbart 5abc51688b Added log resetting, disabled resizing in MainFrame 2019-07-25 21:38:49 +02:00
Kai S. K. Engelbart 8bcd89d975 Simplified game creation, added new configuration dialog 2019-07-25 07:21:07 +02:00
Kai S. K. Engelbart 4c0432ca30 Fixed engine menu reloading on engine addition 2019-07-24 19:07:22 +02:00
Kai S. K. Engelbart 36832733b6 Added en passant availability logging and FEN string export 2019-07-24 17:52:42 +02:00
Kai S. K. Engelbart 601104485c Fixed FEN string export when board is in start position 2019-07-24 15:58:23 +02:00
Kai S. K. Engelbart 2da185a8fb Added tools menu in MenuBar with FEN export menu item 2019-07-24 07:41:45 +02:00
Kai S. K. Engelbart 0ed80228fe Moved activeColor, fullmoveCounter and halfmoveClock to Log 2019-07-24 07:32:59 +02:00
Kai S. K. Engelbart e353aef867 Added engine info serialization and integration into MenuBar 2019-07-23 16:28:53 +02:00
delvh b25acff367 Working on external engine integration, added extra menu
+ EngineUtil for storing engine information
- Changed all UCIListener methods to default
2019-07-23 11:54:43 +02:00
delvh 184c96db8c Added checkmate and stalemate notification through dialog, changed icon 2019-07-23 11:02:34 +02:00
delvh 309495cfae Improved BoardOverlay, disabled color swap in natural-vs-natural game 2019-07-23 10:38:19 +02:00
delvh 91962c01e0 Added dynamic color swap button text 2019-07-23 09:59:22 +02:00
delvh b3710a878f Implemented color swapping
+ swapColor method in Board
+ Button for swapping colors in MainWindow
2019-07-23 09:31:20 +02:00
Kai S. K. Engelbart 68d1996bd6 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
2019-07-22 21:40:25 +02:00
Kai S. K. Engelbart efe7ab2b60 First working UCI implementation
+ bestmove, position and go command implementations
+ Move initialization from algebraic notation
+ FEN string generation
2019-07-22 14:51:24 +02:00
Kai S. K. Engelbart a68a87962c Implemented option setting, added UCIOption class 2019-07-22 08:59:13 +02:00
Kai S. K. Engelbart ab54f88a89 Fixed UCI option parsing 2019-07-22 07:29:58 +02:00
Kai S. K. Engelbart b5b7a749d6 Implemented UCI handshake with engine
+ UCI game start in MenuBar
+ UCI game creation method in Game
- Fixed double game instance bug after starting a new game
+ Name and author parsing in UCIReceiver
2019-07-21 14:35:14 +02:00