filmov
tv
Python script beats Minesweeper in seconds (30+% success on expert)
![preview_player](https://i.ytimg.com/vi/uvRQUWxOHqo/maxresdefault.jpg)
Показать описание
I have written a Minesweeper solver in Python. In this video let's see how I did it, what strategies can be used and what results can be achieved.
Speaking of results, my bot successfully can solve 81%, 75% and 30% of beginner, intermediate and expert games (measured by letting my AI playing 1000 games using Minesweeper X).
UPDATE: latest version of the solver reached 36% expert success rate by adding CSP to determining lowest probability of a mine.
UPDATE 2: Refactored version there too. This one does not work with Minesweeper X, but rather generate and solve minesweeper games in the program. One small improvement there, but the success rate is still just above 36%.
UPDATE 3: I am rewriting the whole thing from scratch, aiming for the better solvability and performance. And it is going to be multi-dimensional too.
––––––––––––––––––––––––––––––
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
––––––––––––––––––––––––––––––
Speaking of results, my bot successfully can solve 81%, 75% and 30% of beginner, intermediate and expert games (measured by letting my AI playing 1000 games using Minesweeper X).
UPDATE: latest version of the solver reached 36% expert success rate by adding CSP to determining lowest probability of a mine.
UPDATE 2: Refactored version there too. This one does not work with Minesweeper X, but rather generate and solve minesweeper games in the program. One small improvement there, but the success rate is still just above 36%.
UPDATE 3: I am rewriting the whole thing from scratch, aiming for the better solvability and performance. And it is going to be multi-dimensional too.
––––––––––––––––––––––––––––––
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
––––––––––––––––––––––––––––––
Комментарии