Skip to content

School Project: Minesweeper GUI project done in Java school courses. Part of the Java Development course followed by students of Mines St Etienne, ISMIN - M2 Computer Science.

Notifications You must be signed in to change notification settings

MohamedDiopGit/MineSweeperV2-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MineSweeper-GUI

School Project: Minesweeper GUI project done in Java school courses

This is a Minesweeper Game with a Graphic Interface. It has 4 mode : EASY, MEDIUM, HARD, and Custom.
The first 3 modes are all set with their specific configurations, and you can select them in the menu bar, by clicking on "Difficulty"
Then you have "CUSTOM" Mode, where you specify the dimension or the grid and the number of mines to place on it.

The "main.java" uses directly "GUI.java" which uses both "Levels.java" (enum types of four levels) and "Field.java"

GUI.java

The main component that runs the Graphic interface, and manages the front and back-end process to call entities and specific functions in order to display the information. It allows to display the grid, the menubar and the popus to give and collect data correctly.

Field.java

The backend main component that create a grid for the minesweeper, the file makes the initialization of each boxes, and has getters to send data to the GUI.

Levels.java

The four levels as an enum

Main.java

The running program and the start of the game with an easy mode by default.

alt text

Enjoy.
Developped with IntelliJ IDEA Community 2022.2.2

About

School Project: Minesweeper GUI project done in Java school courses. Part of the Java Development course followed by students of Mines St Etienne, ISMIN - M2 Computer Science.

Resources

Stars

Watchers

Forks

Packages

No packages published