Deminer - Minesweeper solving algorithm

preview_player
Показать описание
Get instructions for downloading and using at:

See the source file at:
Рекомендации по теме
Комментарии
Автор

There are a few non-ambiguous cases that your algorithm doesn't catch, but I imagine that they would be quite complex to add to your algorithm. These are cases such as, if you pause this video at 4:14 in the top right, you have a row of horizontal 1, like so:
[ ][ ][ ][ ][ ]
[1][1][1][1]

The two rightmost of the unclicked squares will certainly contain one mine, and no more. Because of this, the 1 that is one space away from the edge will be satisfied by that one mine, so you can eliminate the unclicked square that is one space further away from the edge.

angusmglfraser
Автор

In the first place the bot got stuck, there are minimum 3 spots where a good script could continue solving. This script seems to only have the lowest level minesweeper logic.

blakehagins
Автор

I was wondering where I could see the non minified code. The scripts folder only has the minified code and settings and deminer. Is deminer really 100% of the code?

justingolden
Автор

it returns a error saying "Uncaught ReferenceError: $ is not defined" in the console

CreepthehissRB
welcome to shbcf.ru