Skip to content

Simple Mine Sweeper game example with a GUI coded in Java

Notifications You must be signed in to change notification settings

MarcoBackman/Mine-Sweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forks Stargazers Issues

Regular user setup

First, download this repository.

Use batch file for Windows execution. Other operating system requires manual command execution.

  • Simply execute Run.bat file with Run As Administrator if you want to install JDK17 .
  • Execute Run.bat file if JDK17 is already set Follow instructions from batch file. This batch will download and install jdk 17 and setup the environment variables if not set.

If you wish to set up by your own, please install jdk17+ and have it set as environment variable. Then run following command at the root of the downloaded file. java -jar Mine-Sweeper.jar

How to play game

  • You may click any block at the beginning of the game.
  • Number represents the amount of mines presented in nearby the adjacent blocks.
  • You may flag by right-clicking the block if you think that block is a minefield.
  • You can left-click the block if the block is safe from the mine.
  • One all minefields are flagged. The color will change to purple which is a victory.
  • Press F5 for a new game.


Mine Sweeper

Game screen

game_screen

A simple mine sweeper game

View Demo · Report Bug · Request Feature



About The Project

A simple snake game app in java

There are currently 6 features implemented.

  1. Use left mouse button to sweep the cell
  2. Use right mouse button to setup the flag
  3. If every flagged area is a mine cell then, user wins
  4. Pressing F5 will reset the game

Demo image and video

Video

main_menu

(back to top)


Built With



How to run?

Java jre must be installed first, please download newest java from here In oder to execute the program, please download the file by forking this repository. Or you can download a zipfile from above tab.


Prerequisites

Not publically released

Usage

Entertainment

Contact

Marco Backman - roni2006@hanmail.net

(back to top)

About

Simple Mine Sweeper game example with a GUI coded in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published