Puzzle

Minesweeper Light

🎮 Single Player📱 Mobile Friendly⚡ Instant Load

Minesweeper Light is an accessible take on the classic minesweeper formula, optimized for browser play. The game presents an 8x8 grid containing 10 randomly placed mines. Your goal is to reveal every cell that does not contain a mine without triggering any of the mines themselves. When you click a cell, one of three things happens: if the cell contains a mine, the game ends immediately; if the cell has adjacent mines, it reveals a number showing how many of the eight neighboring cells contain mines; if the cell has no adjacent mines, it automatically reveals all connected empty cells in a cascade pattern. This cascade mechanic is the heart of minesweeper strategy — a well-placed first click can open up a large portion of the board instantly.

The game includes a flagging system for marking suspected mine locations. On desktop, right-click places a flag. On mobile, a toggle button switches between "dig" and "flag" modes. We added this toggle specifically because our mobile playtesting showed that long-press gesture detection was unreliable across different phone brands. The first click is guaranteed safe — mines are placed after your first click, not before. This eliminates the frustration of losing on the very first move. A timer tracks your completion time, and your fastest solve is saved to localStorage. The number grid uses color coding (1=blue, 2=green, 3=red, 4=dark blue, 5=dark red) that matches the traditional minesweeper color scheme most players recognize.

Controls

Click/TaporArrow Keysto play

Strategy Guide

Minesweeper Light strips the classic Minesweeper down to its essence with quality-of-life improvements. The first click is always safe — the board generates around your first click, guaranteeing no mine under it. The number in each revealed cell tells you exactly how many mines are adjacent. The key logical rule: if a cell's number equals the number of flagged cells around it, all unflagged adjacent cells are safe. The counter-rule: if a cell's number minus flagged cells equals the number of hidden cells around it, all hidden cells are mines. Beginner mode (8x8 with 8 mines) clears in about 30 seconds for experienced players. Intermediate (12x12, 25 mines) takes 2-3 minutes. The Flag Auto mode automatically flags cells that satisfy the first logical rule, reducing manual work. The touch version on mobile adds long-press flagging and tap-to-reveal.

Play Tips

The 1-2-1 pattern is your most powerful logical tool. When you see a row of three cells with the numbers "1-2-1" and the middle 2 has two flags below it, the cell above the left 1 and above the right 1 are both mines. This pattern recognition speeds up play dramatically. For the 8x8 beginner board (8 mines), the average solve time with pattern recognition is about 15 seconds. Without pattern recognition, it takes most players 30-45 seconds. Start on beginner and practice the 1-2-1 and 1-2-2-1 patterns before moving to intermediate.

Technical Note

Technical note: the mine placement uses Fisher-Yates shuffle on a fixed-size array, guaranteeing random placement without positional bias. The flood-fill reveal algorithm uses a DFS implementation with a visited set to prevent stack overflow on large clearings. The 8x8 beginner board has 8 mines (12.5% density), intermediate is 12x12 with 25 mines (17.4%), expert is 16x16 with 50 mines (19.5%).