Commit Graph

6 Commits

Author SHA1 Message Date
Kai S. K. Engelbart ae9abded19
Changed class Javadoc to use @author and @since tags 2020-08-15 23:25:30 +02:00
Kai S. K. Engelbart 6d85a01fc2
Added naming support in Player and subclasses 2020-08-15 23:24:55 +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 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 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