Skip to content

HugoAlvarezAjenjo/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper Game

A Minesweeper game implementation with graphical user interface

Description

This project is a Minesweeper game implementation with a graphical user interface. The game is based on the classic Minesweeper concept, where the player uncovers cells on a grid while avoiding hidden mines.

Features

  • Interactive grid-based gameplay.
  • Randomly generated minefield
  • Ability to flag cells suspected to have mines.
  • Display of adjacent mine counts for uncovered cells.
  • Game over detection when a mine is uncovered.
  • Win detection when all non-mine cells are uncovered.

System Requirements

  • Java OpenJDK 20 or higher installed on the system.
  • IntelliJ IDEA or any Java IDE.

Installation

  1. Clone the repository to your local machine.
  2. Open the project in your preferred Java IDE.

Usage

To play the Minesweeper game, run the project using your Java IDE's built-in run or debug functionality. The game will open in a graphical user interface where you can interact with the grid and uncover cells.

Contributions

If you wish to contribute to the project, please follow these steps:

  1. Fork the repository on GitHub.
  2. Create a new branch in your fork to make your changes.
  3. Make your changes and submit a pull request to send them to the main project.
  4. Wait for the review and approval of your changes by the development team.

License

This project is licensed under the GNU General Public License (GPL). See the LICENSE file for more information about the license terms.