Posting the game to your Classwork
-
Decide between a plain link and a Google Site
Google Classroom has no field that runs HTML, so the game can reach students in two ways: as a link they open in a new tab, or embedded in a Google Sites page that you then link from Classroom. A link takes one minute. The Google Site takes five, but students play on a page you control, with your instructions next to the board.
-
Open the class and go to Classwork > Create
Sign in at classroom.google.com, open the class, and click the Classwork tab. Click Create at the top and choose Material for an optional activity, or Assignment if you want it on students’ to-do lists with a due date.
-
Write a title and short instructions
Give the post a title such as "Logic warm-up: Minesweeper" and one line of instructions, for example: "Clear the board without guessing. Write down one rule you used." The instructions box takes text and simple formatting only; do not paste the iframe code here, because it would appear to students as a line of code.
-
Attach the game with Link
In the attachment options, choose Link (on an Assignment it sits under Attach; on a Material, click Add and then Link). Paste https://play-minesweeper.games/no-guess/ for the full no-guess game, or the address of your Google Site if you embedded the board there, and add it. Classroom shows the link as a card with the page title.
-
Pick a topic and students, then Post or Schedule
Optionally choose a Topic and limit the post to some students. Click Post to publish now, or use the arrow next to it to Schedule the post for the start of the lesson. Open the post in student view once to check that the link opens the board.
Why there is no embed option
Every other platform in this series has somewhere that accepts HTML — a Custom HTML block, an Embed code tab, a source-code view. Classroom does not. The instructions box takes text with bold, italic, underline and bullet lists; everything else arrives as an attachment card. The attachment types are Google Drive files, YouTube videos, links, uploaded files, and items you create in Docs, Slides, Sheets, Drawings or Forms.
So the question is not where to paste the code, but which kind of attachment to use:
- Link — the quickest route. Students click the card and the game opens in a new tab. Nothing to maintain.
- A Google Site, attached as a link — the board is embedded on a page you build, with your instructions, a timer or a worksheet link around it. Students still leave Classroom, but they land on your page instead of ours.
Classroom add-ons can show third-party content inside Classroom, but they need Google Workspace for Education Plus or the Teaching and Learning upgrade, an add-on your administrator has approved, and a developer who built one. This game is not a Classroom add-on, so a link is the supported route.
The Google Sites route: embed once, link from Classroom
If you want the board to sit inside your own page, build that page in Google Sites. It has a real embed-code field, and our Google Sites embed guide covers the exact path (Insert > Embed > Embed code) and how to size the box. For a class, paste this version, which turns on no-guess mode:
<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 344 × 472 pixels, small enough for any Google Sites column and a Chromebook screen. Then:
- Click Publish in Google Sites. Restricting the site to your school's domain is fine, because students are signed in to their school accounts.
- Copy the published site address.
- Back in Classroom, attach that address with Link exactly as in the steps above.
A site is reusable: post the same link to every class each term, and change the board size or instructions in one place.
If something does not work
- The iframe code shows up as text in the post. Expected — Classroom does not run HTML. Edit the post, delete the code and attach a link instead.
- The link opens a "blocked" page. That is the school web filter. It applies
to the link and to a Google Site embed alike. Ask IT to allow
play-minesweeper.games, and see our notes on playing Minesweeper at school. - The Google Site shows an empty box where the game should be. The embed
itself is blocked (filter again), or the address in the code starts with
http://instead ofhttps://. Test on the school network, not at home. - The board is cut off on the Google Site. The embed box is smaller than the frame. Drag it to at least 344 × 482 pixels; the Google Sites guide explains why the box does not scale.
- Students cannot open the Google Site. Check the publish settings. A site limited to your domain is invisible to accounts outside it, such as a student signed in with a personal Gmail account.
Using it in class
Our Minesweeper lesson for teachers is a 15-minute logic activity built around exactly this board: a warm-up, pair work and a short discussion of the rules students discover. Print the matching printable Minesweeper worksheets, or save them as a PDF from the print dialog and attach the file to the same Classroom post, so students who finish early, or who have no device, can solve the same kind of puzzle on paper. Every sheet has an answer key.