Kai S. K. Engelbart
f7c1607f31
Reformat all files, add some Javadoc
2020-08-16 11:20:37 +02:00
Kai S. K. Engelbart
5e3c8b4170
Increased version to 1.1
2020-08-16 11:20:37 +02:00
Kai S. K. Engelbart
e94376468c
Initializing mines after first touch
2020-08-16 11:20:36 +02:00
Kai S. K. Engelbart
8f5a8b46d2
Added a visible game timer
2020-08-16 11:20:32 +02:00
Kai S. K. Engelbart
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
Kai S. K. Engelbart
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
Kai S. K. Engelbart
53e9c7ea26
Fixed a bug related to touching tiles
2020-08-16 11:20:30 +02:00
Kai S. K. Engelbart
2473a5b785
Fixed resizing issue when using a custom board config
2020-08-16 11:20:29 +02:00
Kai S. K. Engelbart
e9605a51ab
Cleanup
2020-08-16 11:20:29 +02:00
Kai S. K. Engelbart
04643dd702
Fixed remaining mines counter not showing on startup
2020-08-16 11:20:28 +02:00
Kai S. K. Engelbart
948fa50d40
Adjusted font and grid, cleaned up BoardConfig, working on CustomDialog
2020-08-16 11:20:27 +02:00
Kai S. K. Engelbart
dea595e695
Added events for changes of the game state and flagged tiles
2020-08-16 11:20:26 +02:00
Kai S. K. Engelbart
463e5b68bc
Implemented basic gameplay and window adjustment
2020-08-16 11:20:25 +02:00
Kai S. K. Engelbart
7bc2a0711e
Added board init and reset methods, added BoardConfig object
2020-08-16 11:20:24 +02:00
Kai S. K. Engelbart
892d6be2ef
Fixed image loading, added rendering, added JMenu
2020-08-16 11:20:24 +02:00
Kai S. K. Engelbart
6e5befdbe8
Working on drawing, added icons and loading routine
2020-08-16 11:20:23 +02:00
Kai S. K. Engelbart
1b1f0bafba
Added a Board class with methods for tile generation and manipulation
2020-08-16 11:20:22 +02:00