Commit Graph

27 Commits

Author SHA1 Message Date
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 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 83c6e48f03 Added event package with EventBus class 2019-08-02 18:46:00 +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 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
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 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
Kai S. K. Engelbart 4dcc9f7ca0 Set white king as MainWindow icon 2019-07-18 11:19:58 +02:00
Kai S. K. Engelbart cfd71af142 Moved game and board creation to Game 2019-07-17 08:26:51 +02:00
Kai S. K. Engelbart fcd8bfb26b Fixed game state related bugs 2019-07-16 18:24:48 +02:00
Kai S. K. Engelbart 8eda941284 Moved tests in test source folder, replaced GameModeDialog by MenuBar 2019-07-16 11:58:51 +02:00
Kai S. K. Engelbart c245cdb640 Implemented game restarting
+ Restarting method in Game
+ Abstract cancelMove method in Player
+ Stopping calculations in AIPlayer when the game has been restarted
2019-07-14 12:03:45 +02:00
Kai S. K. Engelbart 58340ca6ac Added castling, fixed some minor bugs 2019-07-13 11:38:44 +02:00
Kai S. K. Engelbart 9cf121699f Separated board and overlay rendering
+ BoardPane class for managing rendering layers
+ OverlayComponent for drawing overlays
- Renamed BoardPanel to BoardComponent
- Simplified calls in the rendering process
2019-07-09 09:20:30 +02:00
Kai S. K. Engelbart 73316c6681 Added player management and related UI components
+ Game Mode selection dialog
+ Game class for turn management
+ Abstract Player class with NaturalPlayer implementation
- Moved mouse input handling from BoardPanel to NaturalPlayer
2019-07-07 13:53:57 +02:00
Kai S. K. Engelbart cf41840c5a Improved package structure
- Renamed the piece package into board
- Moved Board, Move and Position into the board package
2019-07-06 18:05:00 +02:00
Kai S. K. Engelbart 612fb5fc9a Created a separate UI package
- Renamed Chess to MainWindow
- Moved MainWindow, BoardPanel and TextureUtil into the UI package
2019-07-06 16:37:42 +02:00