New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[request] reduce number of bombs #1

MingweiSamuel opened this Issue Feb 1, 2019 · 1 comment


None yet
2 participants
Copy link

MingweiSamuel commented Feb 1, 2019

By default, minesweeper had the following difficulties:

Level Width Height Mines
Beginner 9 9 10
Intermediate 16 16 40
Expert 30 16 99

Which works out to 12-20% of the board being mines.

Could be changed just by changing

if (ThreadLocalRandom.current().nextBoolean()) {


if (ThreadLocalRandom.current().nextDouble() < 0.15) {

for example


This comment has been minimized.

Copy link

NurMarvin commented Feb 18, 2019

Sorry, overlooked the issue because my mail is currently broke, will do so tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment