minesweeper icon indicating copy to clipboard operation
minesweeper copied to clipboard

Artificial Intelligence playing minesweeper 🤖

AI playing Minesweeper ✨

forthebadge forthebadge forthebadge


Minesweeper is a single-player puzzle video game. The objective of the game is to clear a rectangular board containing hidden "mines" or bombs without detonating any of them, with help from clues about the number of neighboring mines in each field.

Running Minesweeper

  1. Make sure Python 3.6+ is installed.
  2. Install Pygame.
  3. Clone this repository :
    $ git clone https://github.com/krvaibhaw/minesweeper.git
  1. Change Directory:
    $ cd minesweeper
  1. Install requirements
    $ pip install requirements.txt
  1. Running the program:
    $ python runner.py
  1. Output :
    GUI interface for Minesweeper game.

Feel free to follow along the code provided along with mentioned comments for
better understanding of the project, if any issues feel free to reach me out.

Contributing

Contributions are welcome!
Please feel free to submit a Pull Request.