This project is my Java101 graduation project provided by patika.dev
If you want to clone this game.
- Clone this repo.
git clone https://github.com/serveta/Minesweeper.git
- After cloning the project, you can open the project in an IDE like Eclipse or IntelliJIDEA of your choice.
- Inside the project open this path and Run the project;
src > App.java
- Scenario - 1
*** WELCOME to MINESWEEPER ***
* Before you start...
- You have to indicate the row and column of the game map.
- The game map's min size can be 2x2 and the max size can be 10x10.
- Let's start the game.
************ START ************
Row: 3
Column: 3
*** INFOS ***
Mine: 2
Mine Mark: ✦
Box Mark : ██
*************
==================
██ ██ ██
██ ██ ██
██ ██ ██
Row: 1
Column: 3
==================
██ ██ 1
██ ██ ██
██ ██ ██
Row: 1
Column: 1
==================
0 ██ 1
██ ██ ██
██ ██ ██
Row: 1
Column: 2
==================
0 1 1
██ ██ ██
██ ██ ██
Row: 2
Column: 1
==================
0 1 1
0 ██ ██
██ ██ ██
Row: 2
Column: 2
==================
0 1 1
0 2 ██
██ ██ ██
Row: 3
Column: 1
==================
0 1 1
0 2 ██
0 ██ ██
Row: 3
Column: 2
*** YOU WIN ***
0 1 1
0 2 ██
0 2 ██
- Scenario - 2
*** WELCOME to MINESWEEPER ***
* Before you start...
- You have to indicate the row and column of the game map.
- The game map's min size can be 2x2 and the max size can be 10x10.
- Let's start the game.
************ START ************
Row: 5
Column: 5
*** INFOS ***
Mine: 6
Mine Mark: ✦
Box Mark : ██
*************
==================
██ ██ ██ ██ ██
██ ██ ██ ██ ██
██ ██ ██ ██ ██
██ ██ ██ ██ ██
██ ██ ██ ██ ██
Row: 1
Column: 1
==================
1 ██ ██ ██ ██
██ ██ ██ ██ ██
██ ██ ██ ██ ██
██ ██ ██ ██ ██
██ ██ ██ ██ ██
Row: 3
Column: 4
*** GAME OVER ***
1 ██ ██ ██ ██
██ ██ ██ ██ ██
██ ██ ██ ✦ ██
██ ██ ██ ██ ██
██ ██ ██ ██ ██