Skip to content

pevargas/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper Clone Website Build Status

💣 A Minesweeper clone

Local Development

Build and Test

mvn clean install

Run the Jar

java -jar target\minesweeper-1.0-SNAPSHOT.jar
OOOOOOOOOO
OOOOOOOOOO
OOOOOOOOOO
OOOOOOOOOO
OOOOOOOOOO
OOOOOOOOOO
OOOOOOOOOO
OOOOOOOOOO
OOOOOOOOOO
OOOOOOOOOO
Total Mines:    10
Spaces Left:    100
Make Guess (<row> <column>):

Get help

java -jar target\minesweeper-1.0-SNAPSHOT.jar -h
usage: minesweeper
 -d,--debug-mode             if we should run in debug mode
 -f,--mine-frequency <arg>   the frequency of the mines (between 0 and 1
                             as a decimal)
 -g,--height <arg>           the height of the board
 -h,--help                   show help
 -w,--width <arg>            the width of the board

Run with Arguments

java -jar target\minesweeper-1.0-SNAPSHOT.jar -d -w 10 -g 10 -f 0.025
..........
..........
..........
..111.....
..1M1.111.
..111.2M2.
......2M2.
......111.
..........
..........

About

💣 A Minesweeper clone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages