Skip to content

A simple Minesweeper AI I made cause I want to be lazy

Notifications You must be signed in to change notification settings

real-darth/Minesweeperster

Repository files navigation

Minesweeperster

A simple Minesweeper AI I made cause I want to be lazy

Table of Contents
  1. About
  2. How to use
  3. Statistics
  4. TODO

About

I got lazy playing minesweeper. This project is planned to be expanded..

This is a python-built AI that plays Minesweeper currently only on this website. It automatically finds the playing field when size: 30 and uses a simple algorithm to try and solve the board. It will start a new board everytime the game is over.

Libraries

optional:

How to use

To use the AI, download the project and the required libraries. Open this website and set size to 30. Afterwards, display the board on your screen and run the application in the background. The AI will find the board and start playing the game.

To stop the program, drag your mouse to the top-left corner of your screen. This will kill the instance, you may have to try some times since your mouse will likley be flicking across the screen.

Statistics

TODO: Display a general win-rate of the AI

TODO

  • Usable on multiple board sizes.
  • Mac version
  • Try to fix for multiple screen sizes (can scale the board in pixels).
  • mine count 6 and 7.
  • Better error handling.
  • Expanded algorithm to check for other conditions, such as tile-patterns.
  • Better random-click algorithm, can calculate the different chances for a mine and select the best option.
  • Statistics, win-loose-rate

About

A simple Minesweeper AI I made cause I want to be lazy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages