Skip to content

pbogre/minesweeper-CBL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper Game with Solver (CBL)

This is a Minesweeper project written in Java that includes a graphical user interface (GUI) using Swing for playing the game and an automatic solver that can solve Minesweeper boards. The project allows you to enjoy interactive Minesweeper gameplay and explore solving algorithms.

Disclaimer! If you are using a touchpad/trackpad, it is recommended that you lift your finger completely before clicking again when playing the game for a smoother experience.

Table of Contents

  • Features
  • Prerequisites
  • Installation

Features

  • Minesweeper game with a Swing-based GUI.
  • Customizable game board size, mine count, and difficulty levels.
  • Interactive gameplay: left-click to reveal cells, right-click to flag mines.
  • Win and lose detection.
  • Automatic Minesweeper solver based on solving algorithms.
  • Detailed documentation and code comments.

Prerequisites

  • Java Development Kit (JDK) 8 or later.
  • Git (optional).

Installation

  1. Clone the repository:

    git clone https://github.com/pbogre/minesweeper-CBL.git
  2. Compile using javac:

    javac Minesweeper.java
  3. Run the program:

    java Minesweeper

About

Java minesweeper in Swing with no guessing boards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages