Commit Graph

25 Commits

Author SHA1 Message Date
e94376468c Initializing mines after first touch 2020-08-16 11:20:36 +02:00
e092f43fb5 Integrated res folder into JAR 2020-08-16 11:20:35 +02:00
2108ea7280 Adjusted version number for the first release 2020-08-16 11:20:35 +02:00
0be84727ec Adjusted column names in ScoreDialog 2020-08-16 11:20:34 +02:00
eac310b879 Fixed score sorting, added a place column in ScoreDialog 2020-08-16 11:20:33 +02:00
9574e426c0 Added proper score management
- Added ScoreManager
- Altered ScoreDialog to show only scores of a specific BoardConfig
- Removed BoardConfig dependency from Score
- Added the constants EASY, MEDIUM and HARD to BoardConfig
- Removed score backend handling from Minesweeper, added a highscore
menu
2020-08-16 11:20:33 +02:00
8f5a8b46d2 Added a visible game timer 2020-08-16 11:20:32 +02:00
b648db6755 UX fix
- Made high score dialog modal
- Added check for type mismatch when unserializing high scores
- Added remaining mines counter refresh on board reset
2020-08-16 11:20:31 +02:00
43d3d94756 Added score management
- Renamed GameStateEvent to GameOverEvent
- Added a game time counter to Board
- Added a game duration property to BoardConfig and GameOverEvent
- Added Score and ScoreDialog classes
- Added a Set for managing scores to Minesweeper
2020-08-16 11:20:31 +02:00
53e9c7ea26 Fixed a bug related to touching tiles 2020-08-16 11:20:30 +02:00
2473a5b785 Fixed resizing issue when using a custom board config 2020-08-16 11:20:29 +02:00
e9605a51ab Cleanup 2020-08-16 11:20:29 +02:00
04643dd702 Fixed remaining mines counter not showing on startup 2020-08-16 11:20:28 +02:00
feb519c7cc Implemented custom board config dialog 2020-08-16 11:20:28 +02:00
948fa50d40 Adjusted font and grid, cleaned up BoardConfig, working on CustomDialog 2020-08-16 11:20:27 +02:00
8ad61d9762 Working on custom game options dialog 2020-08-16 11:20:26 +02:00
dea595e695 Added events for changes of the game state and flagged tiles 2020-08-16 11:20:26 +02:00
463e5b68bc Implemented basic gameplay and window adjustment 2020-08-16 11:20:25 +02:00
7bc2a0711e Added board init and reset methods, added BoardConfig object 2020-08-16 11:20:24 +02:00
892d6be2ef Fixed image loading, added rendering, added JMenu 2020-08-16 11:20:24 +02:00
6e5befdbe8 Working on drawing, added icons and loading routine 2020-08-16 11:20:23 +02:00
1b1f0bafba Added a Board class with methods for tile generation and manipulation 2020-08-16 11:20:22 +02:00
d21a162dcb Added a GameState enum and a Tile class 2020-08-16 11:20:22 +02:00
2bbaec0939 Added .gitignore and application frame class 2020-08-16 11:20:21 +02:00
bdb2279152 Initial commit 2020-08-16 11:20:15 +02:00