Commit Graph

26 Commits

Author SHA1 Message Date
Kai S. K. Engelbart cbf110c28d
Improved PGN parsing, added PGN file loading 2020-08-15 23:25:24 +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 3f2e7183dd
Refactoring and documentation, improved FEN integration
+ Adding a new game when loading a FEN string
+ Loading multiple FEN files with drag and drop
2020-08-15 23:25:13 +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 50111729ad
Changed event model
+ MoveEvent
2020-08-15 23:25:04 +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 b6cfb5674c
Implemented LogFrame updating
+ Export to SAN in move
+ Updating LogFrame after a move
- Turned EventBus into a singleton
2020-08-15 23:25:03 +02:00
Kai S. K. Engelbart 8077aaafdb
Implemented en passant 2020-08-15 23:24:58 +02:00
Kai S. K. Engelbart c0479b88b6
Simplified game creation, added new configuration dialog 2020-08-15 23:24:54 +02:00
Kai S. K. Engelbart e814100589
Added checkmate and stalemate notification through dialog, changed icon 2020-08-15 23:24:48 +02:00
Kai S. K. Engelbart 4e008954ad
Improved BoardOverlay, disabled color swap in natural-vs-natural game 2020-08-15 23:24:48 +02:00
Kai S. K. Engelbart 2b00116837
Implemented color swapping
+ swapColor method in Board
+ Button for swapping colors in MainWindow
2020-08-15 23:24:46 +02:00
Kai S. K. Engelbart 46b74a527d
First working UCI implementation
+ bestmove, position and go command implementations
+ Move initialization from algebraic notation
+ FEN string generation
2020-08-15 23:24:45 +02:00
Kai S. K. Engelbart 3581904abc
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
2020-08-15 23:24:43 +02:00
Kai S. K. Engelbart f9aea34edf
Fixed input listening bug in NaturalPlayer
+ disconnect methods in Game and Player
+ NaturalPlayer removes its MouseListener from OverlayComponent after
the disconnect method is called
2020-08-15 23:24:40 +02:00
Kai S. K. Engelbart f6a578531f
Moved game and board creation to Game 2020-08-15 23:24:38 +02:00
Kai S. K. Engelbart a2d479bba0
Fixed game state related bugs 2020-08-15 23:24:38 +02:00
Kai S. K. Engelbart ef8c43be1f
Fixed UI bugs, added move drawing to OverlayComponent 2020-08-15 23:24:37 +02:00
Kai S. K. Engelbart a3b5531f09
Implemented game restarting
+ Restarting method in Game
+ Abstract cancelMove method in Player
+ Stopping calculations in AIPlayer when the game has been restarted
2020-08-15 23:24:34 +02:00
Kai S. K. Engelbart 1b7e3b1986
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
2020-08-15 23:24:30 +02:00
Kai S. K. Engelbart 666a7ea25c
Fixed some typos 2020-08-15 23:24:29 +02:00
Kai S. K. Engelbart 8283866d62
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
2020-08-15 23:24:28 +02:00
Kai S. K. Engelbart 31c393150b
Fixed checkmate detection, simplified event handling 2020-08-15 23:24:27 +02:00
Kai S. K. Engelbart f4b399ae43
Added simple (yet surprisingly effective) AI player
+ AIPlayer class
+ Evaluation method in Board
+ AI vs AI button in GameModeDialog (produces a rendering delay)
2020-08-15 23:24:27 +02:00
Kai S. K. Engelbart 4c1d7b77a5
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
2020-08-15 23:24:26 +02:00