Project icon

Minesweeper JS

A puzzle game based on the Windows classic, Minesweeper.

JavaScript
Try it Live

A puzzle game based on the Windows classic, Minesweeper. Left-clicking on a tile reveals it, while right-clicking flags it. The goal is to flag every tile containing a "mine" without revealing any. Revealing a tile that does not hide a mine will instead show the number of mines adjacent to that tile. If no mines are adjacent, all adjacent tiles will be revealed in a simple implementation of the flood fill algorithm.