How harismuneer/minesweeper-desktop-game works
This is a standalone Java Swing Minesweeper game. The player interacts with the UI; Game coordinates board updates, win/loss handling, and statistics, while Board and Score persist game state and records in the Access database. The README documents save/load, and sampled code confirms board and score database operations; omitted Game sections limit certainty about the exact save/load call sequence.
Main entry points: Game.java Game controller · UI.java Swing interface · Board.java Board logic · Score.java Scores and times
Components 8
Presentation
- Swing interface
Code/src/minesweeper/UI.java
Gameplay
- Launcher
Code/src/minesweeper/Main.java - Game controller
Code/src/minesweeper/Game.java - Board logic
Code/src/minesweeper/Board.java - Cell state
Code/src/minesweeper/Cell.java
Persistence
- Scores and times
Code/src/minesweeper/Score.java - Access database
Code/src/db.accdb
Other components
- Player
Connections 10
- Player → Swing interface: plays through
- Launcher → Game controller: starts
- Game controller → Board logic: creates and updates
- Game controller → Swing interface: creates and configures
- Swing interface → Game controller: dispatches input
- Board logic → Cell state: stores cell state
- Game controller → Scores and times: loads and updates
- Board logic → Access database: saves and loads game
- Scores and times → Access database: reads and writes records
- Game controller → Swing interface: shows game results