Commit Graph

24 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 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 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 984bedfafe Implemented en passant 2019-07-28 13:51:10 +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 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 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 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 d8f5f3bbf4 Fixed input listening bug in NaturalPlayer
+ disconnect methods in Game and Player
+ NaturalPlayer removes its MouseListener from OverlayComponent after
the disconnect method is called
2019-07-18 15:01:15 +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 cde7f63996 Fixed UI bugs, added move drawing to OverlayComponent 2019-07-16 15:32:02 +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 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 3f7a97e953 Fixed some typos 2019-07-08 09:08:10 +02:00
Kai S. K. Engelbart 9cfd06230c 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
2019-07-08 06:41:10 +02:00
Kai S. K. Engelbart 55e9cfb620 Fixed checkmate detection, simplified event handling 2019-07-07 21:07:58 +02:00
Kai S. K. Engelbart dd5170066b Added simple (yet surprisingly effective) AI player
+ AIPlayer class
+ Evaluation method in Board
+ AI vs AI button in GameModeDialog (produces a rendering delay)
2019-07-07 14:37:33 +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