← All interactive demos

The First Click

Our own model, not a reproduction of any particular game. Choose a placement method and click a square. The mines are shown so you can compare.

Choose where to click first.

About this model

This is our own model, used in the video "How does Minesweeper make your first click safe?" on the YouTube channel "How Games Are Made" (ゲームのつくり方の歴史). AI was used to make the diagrams and code, and the facts were checked against sources by the creator. No game footage or official assets are used.

What this model shows

It compares placement methods to see how Minesweeper avoids "the first square I clicked was a mine". Method A places the mines first and then takes the first click, so you can lose on the first click. B and B′ move a mine you stepped on to another square. C and C′ look at where you clicked first, then place the mines while leaving out that square (and its neighbours).

How to try it

Choose a placement method and click anywhere on the board. "Switch centre / top-left (10,000 runs)" shows, in colour, how often mines end up on each square when the first click is repeated 10,000 times with the same method. Check that moving mines "from top-left" piles them onto certain squares, and that "a random empty square" removes that bias.

Key idea

Whether mines end up unevenly spread depends not on when they are placed, but on how the squares to place or move them to are chosen. This is our own model, not a reproduction of any particular game; the mines are shown only for comparison.