serveta / Minesweeper

My Java101 graduation project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minesweeper

This project is my Java101 graduation project provided by patika.dev

Installation / Usage

If you want to clone this game.

  1. Clone this repo.
    git clone https://github.com/serveta/Minesweeper.git
    
  2. After cloning the project, you can open the project in an IDE like Eclipse or IntelliJIDEA of your choice.
  3. Inside the project open this path and Run the project;
    src > App.java
    

Sample images inside the game

  • 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 ██ ██ ██ ██ 
██ ██ ██ ██ ██ 
██ ██ ██  ✦ ██ 
██ ██ ██ ██ ██ 
██ ██ ██ ██ ██ 

License

MIT

About

My Java101 graduation project.

License:MIT License


Languages

Language:Java 100.0%