Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

MSolver

> DevOps
Open source

A small, self-contained minesweeper solver written in Java

194 stars0 likes2 views
WebsiteGitHub

About

A small, self-contained minesweeper solver written in Java

More information here: http://luckytoilet.wordpress.com/2012/12/23/2125/

I posted the source code for entertainment purposes only, and I never seriously intended it to be compiled and run on another machine. Nevertheless, if you intend to run this on your own computer:

  1. Make sure ScreenWidth, ScreenHeight, TOT_MINES are correct
  2. Make the game window as big as you can. Try maximizing it.
  3. Be sure that the entire game window is visible 2 seconds after it starts.

The calibration routine looks for intersections of dark lines, and if the resolution is too small, the lines change to a grayish color and you'll get "Calibration failed".

Detection is tricky and doesn't have a 100% success rate on my machine either. If it still doesn't work, you're out of luck xD

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaartificial-intelligencejavaminesweeper

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理