Commit Graph

116 Commits

Author SHA1 Message Date
1d78b8f071 Implemented 'currline' command in UCI protocol 2019-10-28 18:24:26 +01:00
a41a2819da Changed class Javadoc to use @author and @since tags 2019-10-26 07:55:21 +02:00
40d80fdc12 Merge pull request #7 from CyB3RC0nN0R/feature/io
Refined IO functionality, fixed FEN string serialization and deserialization
2019-10-25 17:01:55 +02:00
cbf6aa2013 Moved loadFile method to MainWindow, removed redundancies 2019-10-25 16:58:18 +02:00
5dbd38d1c0 Removed old FEN string methods, fixed FEN regex 2019-10-25 11:52:48 +02:00
4857b48e4e 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
2019-10-25 11:34:07 +02:00
c438dd00cb Enhanced FENString class, added unit test and Board#equals() 2019-10-24 19:54:59 +02:00
7e8f75a008 Added FENString class 2019-10-24 06:09:16 +02:00
db8fe1c4c0 Renamed FEN string fullmove counter to fullmove number 2019-10-22 21:25:06 +02:00
acb0e63c82 Added PGNDatabaseTest and test file 2019-10-21 21:45:38 +02:00
2f1ae6e9c8 Created io package, moved IO-related classes 2019-10-20 17:27:52 +02:00
1f2cedd455 Replaced game configuration dialog by a JOptionPane 2019-10-20 11:51:56 +02:00
1d19f17c56 Improved PGN parsing, added PGN file loading 2019-10-20 11:22:58 +02:00
86cf2afc8f Implemented game loading from FEN file 2019-10-18 17:45:13 +02:00
8b9793611a Added file chooser dialog, renamed GameConfigurationDialog to DialogUtil 2019-10-14 06:31:03 +02:00
446f895ae1 Replaced LogPanel by a JList inside GamePane with a custom cell renderer 2019-10-13 21:34:22 +02:00
9839d5a23e Fixed texture scaling method in TextureUtil 2019-10-13 14:37:35 +02:00
713c95338e Added PGNDatabase and PGNGame classes with support for PGN parsing 2019-10-09 21:03:39 +02:00
84b3e1503f Renamed SAN-like coordinate notation to LAN, added SAN support to Board 2019-10-09 21:02:22 +02:00
cc0440233b Added ChessException class 2019-10-04 18:18:00 +02:00
286ea93ee3 Moved MoveNode into a separate file 2019-10-04 10:25:03 +02:00
994cb84729 Fixed LogPanel to support new log data model 2019-09-23 17:37:42 +02:00
54e4a0e2e4 Fixed memory leak, improved copy constructors 2019-09-19 21:31:24 +02:00
1ecafa5485 Fixed Log with respect to variations 2019-09-18 15:00:31 +02:00
c987bfcebb Added variations in Log, added LogTest 2019-09-13 18:13:34 +02:00
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
249480724a Refactoring
- Simplified FEN-string generation
- Made GameConfigurationDialog a utility class
2019-09-09 19:05:57 +02:00
216877b76b Added LogPanel to GamePane 2019-09-09 06:14:37 +02:00
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
08ac0ac114 Fixed frozen game after adding a new one 2019-09-06 13:24:58 +02:00
de9cd05602 Opening the new tab after starting a game 2019-09-01 18:57:31 +02:00
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
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
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
c1a8589a04 Fixed documentation 2019-08-23 21:10:19 +02:00
358654b1ed Added drag and drop support for FEN files 2019-08-14 20:17:28 +02:00
8e2af63c35 Improved documentation in Board 2019-08-13 06:16:10 +02:00
642a0bf4d1 Fixed Game and Log synchronization on FEN loading 2019-08-13 05:59:47 +02:00
3ea48ef21b Implemented loadFromFen method in Board 2019-08-13 05:43:26 +02:00
d121e85897 Cleaned up and improved Log
+ Current log state properties
- Removed Log delegates from Board
2019-08-12 06:44:55 +02:00
14c7167ce4 Changed event model
+ MoveEvent
2019-08-07 18:54:00 +02:00
90c100e0e1 Working on board loading from FEN-encoded string 2019-08-05 21:02:54 +02:00
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
3d8877ddbd Implemented LogFrame, added menu item for opening it 2019-08-03 21:48:10 +02:00
83c6e48f03 Added event package with EventBus class 2019-08-02 18:46:00 +02:00
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
36597ac6f1 Fixed parsing score and after score 2019-08-01 19:01:17 +02:00
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
545f946aa0 Simplified EngineUtil and MenuBar 2019-07-30 06:18:24 +02:00
984bedfafe Implemented en passant 2019-07-28 13:51:10 +02:00