Skip to content
Minesweeper

Minesweeper in the Classroom

A puzzle with a two-sentence rulebook that makes students prove every move. Here is a ready-to-run 15-minute logic activity, free printable worksheets with answer keys, and an embed for your class site.

  • Free
  • No login
  • No ads
  • Solvable by logic
  • Works on Chromebooks

Try it now: a Beginner board (9x9, 10 mines) with no-guess mode on, so it can be cleared by logic alone.

010
00:00

Click to reveal, right-click or long-press to flag. Click a number whose mines are flagged to open all its neighbours.

Why Minesweeper Teaches Deduction

Every number on the board is a piece of evidence: it says exactly how many mines touch that square, counting all eight neighbours. Students never get told where a mine is. They have to work it out, and the game punishes a hunch immediately. That makes it a compact way to practise three habits that matter well beyond the puzzle:

  • Reasoning from evidence. "This 1 touches only one hidden square, so that square must be the mine." A conclusion is only allowed if the numbers support it, and a student can always be asked to point at the clue.
  • Proof by elimination. Once a number has all its mines found, every other square around it is safe. Students learn that ruling things out is as useful as finding them.
  • Combining two clues. When the hidden squares of one number all sit inside the hidden squares of a neighbouring number, the difference between the two numbers belongs to the squares only the second one touches. This subset idea is what solves the famous 1-2-1 shape, and the Minesweeper pattern guide walks through it on interactive boards.

One thing matters for fairness: a randomly dealt board sometimes ends in a true 50/50, where no amount of thinking helps. In a lesson about logic, that teaches the wrong thing. With no-guess Minesweeper, every board is checked by a solver before it is shown, so a safe move can always be proved. The printable sheets are built the same way. If a student is stuck, the reason is somewhere on the board, never luck.

A 15-Minute Logic Activity

Works as a lesson starter, a maths or computing warm-up, or a thinking-skills slot. You need a projector and one printed sheet per student or pair. Students do not need to know the game.

Learning goals

  • Use evidence on the board to justify a conclusion in one sentence ("...because...").
  • Tell the difference between what is proven and what is only likely.
  • Combine two clues to reach a conclusion neither gives on its own.
  1. 1. Warm-up on paper (3 min)

    Hand out the Tiny 6x6 warm-up sheet (puzzle ID #TEACH). Read the rules aloud: a number counts the mines in the eight squares around it, diagonals included. Ask everyone to find just one square they are certain about and mark it: X for a mine, a dot for safe.

  2. 2. Think aloud on the projector (4 min)

    Project the board at the top of this page and solve the first few moves out loud, naming the clue each time: "This 1 only has one hidden neighbour, so it's a mine. Now this 2 has both its mines, so these three are safe." Then let students call out the next move, but only with a reason.

  3. 3. Pair work (5 min)

    In pairs, solve the Small 8x8 pair sheet (puzzle ID #PAIRS). One student proposes a move and its reason; the partner either agrees or finds the flaw, then they swap roles. Each pair writes down the reason for one move in a full sentence.

  4. 4. Exit question (2 min)

    Draw this on the board. It is a whole board, three squares wide, with walls on both sides. Which of A, B and C are mines? Explain in one sentence.

    Show the answer

    A and C are mines, B is safe. The left 1 sees A and B; the 2 sees A, B and C. So C must hold the 2's second mine. By the same argument from the right, A is a mine. The left 1 now has its mine at A, so B is safe. That is the 1-2-1 pattern, and the subset idea in miniature.

Differentiation

  • Younger students or a first go: stick to Tiny 6x6 sheets, one big puzzle per page, with large squares that are easy to write in. Do the warm-up together.
  • Most classes: Small 8x8 for pair work, with the Beginner board on screen.
  • Older students and early finishers: the Large 12x12 sheet, or no-guess Expert online (30x16, 99 mines), where the subset rule and the total mine count come into play.
  • Extension: before solving, ask how likely a random hidden square is to be a mine. Then compare that estimate with what the numbers actually prove.

Printable Worksheets

The printable Minesweeper puzzles page generates sheets in your browser. Every puzzle is checked to be solvable from the printed numbers and the mine count alone, without guessing. Pick a size:

  • Answer key on its own page. It is on by default and always starts on a new page, so you can print page 1 for students and keep the key. Untick it, or add key=0 to the link, to print puzzles only.
  • One, two or four puzzles per page. Change it on the page or with per=1, per=2 or per=4 in the link.
  • The same sheet for the whole class. Each sheet prints a puzzle ID and a reprint link. Type the ID into the Puzzle ID box, or share the link, and anyone gets exactly the same puzzles and answer key: handy for an absent student, a second set of copies or a colleague. The two sheets in the activity above are fixed IDs (#TEACH and #PAIRS), so they are the same every time you open them.

On Your Class Site or LMS

The embed generator builds a small iframe that puts a playable board on any page that accepts HTML. For a class, this snippet is a good default: a Beginner board with no-guess mode on (noguess=1), plus the one-line credit link that keeps the widget free.

<iframe
  src="https://play-minesweeper.games/embed/?size=beginner&noguess=1"
  width="344"
  height="472"
  frameborder="0"
  style="border:0;max-width:100%"
  loading="lazy"
  title="Minesweeper Game"
  allow="clipboard-write"
></iframe>
<p style="font:12px/1.5 Tahoma,'MS Sans Serif',Geneva,sans-serif;color:#555555;margin:6px 0 0;max-width:344px">
  <a href="https://play-minesweeper.games/" style="color:#555555">play-minesweeper.games</a> — free Minesweeper, no download
</p>

The frame is 344x472 pixels. Need a different size, the retro look or a difficulty switcher? Change it in the generator.

Where to paste it

School administrators can restrict embedded content on any of these platforms. If the frame stays blank, post a plain link to the game instead.

Privacy and Access

  • No account, no ads. Students just open the page. There are no adverts or third-party ad or tracking scripts on the site. An account exists only for players who want their own stats on several devices; it is optional.
  • Stats stay in the browser. Best times, streaks and achievements are saved in the browser's local storage on that device. They only reach the server if a player signs in to sync them.
  • Anonymous game events. To see how the game is used, the page sends short events such as "game started" or "game won" to the site's own server, with the difficulty, the time, how many squares were opened, whether no-guess was on and the page path. They carry no cookie or player ID (unless the player has signed in), and no IP address, browser details or referrer are stored. Browsers with Do Not Track or Global Privacy Control switched on send no events at all.
  • Leaderboard names only if typed. A win on a classic board can appear on the public leaderboard as a time without a name. A name is only shown if the player types one and clicks Save. No-guess wins, including the board on this page, are not submitted at all. There is no chat or messaging anywhere on the site.
  • Chromebooks and tablets. It runs in the browser, with nothing to install. On a touchscreen, long-press or the Dig/Flag switch places flags. See the Chromebook notes for touchpad controls.
  • Works offline once visited. The site is an installable web app. After it has been opened online, the browser keeps the main game pages cached so they keep working without a connection, which helps on patchy school Wi-Fi.

Worried about the school filter? See Minesweeper at school, and test the page on the school network before the lesson.

Minesweeper for Teachers FAQ

Is it really free for classroom use?
Yes. The online game, the printable worksheets and the embed widget are all free, with no paid tier, no ads and nothing to buy. You can print and copy the worksheets for your whole class.
Do students need an account or a login?
No. Students open the page and play. There is an optional account that only syncs a player's own stats between devices; nobody needs it to play, print or embed, and you never have to collect student emails.
Will it be blocked on our school network?
That depends on your school's web filter, which some schools set to block game sites as a category. Open the page on the school network before the lesson. If it is blocked, ask your IT team whether puzzle sites can be allowed for teaching, or run the lesson on paper with the printable sheets, which need no network once printed.
What age is Minesweeper suitable for?
There is no chat, no other players to talk to, no sound, no ads and no violence: the "mines" are just symbols to find. The real requirement is counting to eight around a square and following an if-then argument, so it suits primary and secondary classes alike. Start younger students on the 6x6 Tiny sheets and keep Expert for older or faster students.
Can the whole class work on the same puzzle?
Yes. Every printable sheet has a puzzle ID and a reprint link, so everyone gets the same grids and you get the same answer key. Online, the daily challenge deals the same board to every player each day, which is handy for comparing approaches afterwards. Daily boards are classic random deals, so unlike the no-guess boards they can occasionally need a guess.
Can I put the game on Google Classroom, Canvas or Moodle?
Google Classroom posts take links and attachments, not embed code, so post a link to the game or to a Google Sites page that embeds it. Canvas pages and Moodle Page resources have an HTML view where the iframe snippet on this page can be pasted. Administrators can restrict embedded content on any of these platforms.