FOR WEBSITE OWNERS
Embed Minesweeper on Your Website
Add the classic logic game to a page that accepts iframe content. The standalone frame loads the game without the portal navigation or online leaderboard. Choose a starting difficulty, copy the ready-to-paste iframe and preview it below.
Direct game URL
Use this address on platforms that ask for an external HTML5 game URL.
Responsive iframe code
The selected level opens first. Players can switch difficulty inside the game.
Paste this snippet into a custom HTML block, page editor or iframe widget. The game adjusts to the width available on your page.
FOR WEBSITE OWNERS
How to add Minesweeper to your site
Choose a starting board
Select Beginner, Intermediate or Expert. Visitors can change difficulty after the game loads.
Copy and paste the code
Use your platform’s custom HTML block or iframe widget, then paste the snippet into the page.
Check desktop and mobile
The iframe width is fluid. Keep enough height for the counters, controls and complete board.
FOR WEBSITE OWNERS
Publisher guidelines
- Use the iframe on pages and platforms that permit externally hosted games.
- The embed starts at 760 pixels tall to give each board size room. You can adjust the height in the iframe style attribute.
- Personal best times in the embedded game stay in the visitor’s browser. Embedded runs are not submitted to the online leaderboard.
- The code enables fullscreen where supported by the player’s browser and device.
- Some site builders remove iframe HTML when a page is saved. If that happens, use their custom HTML or embed block.
The recommended height is 760 pixels. If you change the starting difficulty or page layout, adjust the iframe height so the full board remains visible.
Responsive iframe code
Preview the embedded game
This preview uses the same standalone game URL shown above. Change the starting difficulty to see how the board fits.