lucky-bai / msolver Goto Github PK
View Code? Open in Web Editor NEWA small, self-contained minesweeper solver written in Java
License: MIT License
A small, self-contained minesweeper solver written in Java
License: MIT License
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
As you can see at about 1:35 into this video:
http://youtu.be/R7-NWBK8Ey8?t=1m22s
There is a square that MSolver tries to click on that Minesweeper refuses to clear...
Not sure what's happening there...
You will see the mouse moving erratically afterwards and then the game ends when I manage to manually click on some other square...
See screenshot:
http://i.imgur.com/MUaYz.jpg
The logic should not have guessed at the square it clicked on (red bomb), given that a 2 was next to it, with only 3 squares, and one-and-only-one of the other two squares known to be a bomb...
Any ideas?
What license is this repo released under? Can you add a LICENSE file?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.