Embed our games on your website

Every DiceGem game (424 and counting) can be played on your own site for free. There is no sign-up and no fee, and the games show no ads. They run from play.dicegem.com, so they never touch your site's cookies or storage, and they work on phones, tablets and computers.

Embed one game

Open any game page and choose Add this game to your website under the game: it has the code for that game. The code for Klondike Solitaire looks like this:

<div style="max-width:960px">
  <iframe src="https://play.dicegem.com/klondike/1.0.0/" title="Klondike Solitaire" width="960" style="display:block;width:100%;height:auto;aspect-ratio:16/10;border:0" allow="fullscreen; autoplay" loading="lazy"></iframe>
  <p style="margin:6px 0 0;font-size:14px">Play more free games on <a href="https://dicegem.com/games/klondike/">DiceGem</a></p>
</div>

The line under the game links back to us. It is optional, but it helps people find more games and helps us keep making them. Please keep it as it is if you use it: one plain link with our name.

WordPress plugin

The DiceGem Games plugin adds a shortcode and two blocks, picks up new games and versions by itself, and keeps the games responsive in any theme.

Download the plugin (.zip)

  1. In WordPress, go to Plugins → Add New → Upload Plugin, choose the zip and activate it.
  2. Add the DiceGem game or DiceGem game grid block to a post or page, or use a shortcode.
  3. Optional: under Settings → DiceGem Games, turn on the credit link, casino-style games or enter a publisher ID.
ShortcodeWhat it does
[dicegem game="klondike"]One game. Use the slug from the game's address (dicegem.com/games/<slug>/).
[dicegem game="klondike" ratio="4:3"]Same game with a different shape. Width follows your content column.
[dicegem_grid category="board-games" count="6"]A showcase of six board games. Visitors pick one and it opens above the grid.

The credit link is off until you turn it on, as WordPress plugin rules require. Casino-style games are hidden until you allow them in the settings.

Rules

Our terms of service apply to embedded games as well.

Earn with your site

We are preparing a publisher programme that shares advertising revenue with sites that embed our games. Members get a publisher ID to add to the code (?pub=YOUR_ID) or the plugin settings; until advertising starts, the ID only lets us show you how often your visitors play. Read the publisher terms and write to [email protected] to join.

Privacy

Embedded games store progress and settings in the player's own browser and send us anonymous play events (load, start, end) with the embedding site's address. They set no cookies and show no ads. Details are in our privacy policy. For developers, the full catalogue is available as JSON on the developers page.