Introducing Minesweeper.ai

AI that plays Minesweeper

Welcome to Minesweeper.ai, where an artificial intelligence system (who I have named Jack for the sake of simplicity), plays Minesweeper!

With the help of a knowledge base and logical decision making, Jack decides which tiles are safe to move, and which tiles have a mine in them. If the Jack does not have any data entries in the knowledge base. then it just takes a random move on the games tiles.

Also, with the help of the PyGame library the AI can visually show all the moves on a game screen, while printing out the decisions on the local machine's terminal.

I hope you enjoy the demo!

Inspiration behind Jack

After creating Nimma (from Nim.ai), I wanted to make a similar and much simpler AI that played minsweeper, intelligently!

So, after a few weeks of learning several logical compuatation methods for AI systems and PyGame, I created the project and successfully made an AI that thinks on it's own about the various positions in needs to move to.