Add a game to a website or blog

TheMahjong provides tools you can use to show your favourite mahjong layouts to your friends or site visitors.

Turtle layout URL

Embed a game

You can add a single-layout game directly to your page. Choose a background color and tile set, then simply copy the link below.

Background color

Tile set

How it will look on your website or blog

Embed game code:

Bulb icon

You can adjust style properties such as width and height to make the game fit your web page.

Learn more: the <iframe> specification.

If you’d like to support TheMahjong.com, you can add a small text link back to our site near the embedded game. It’s not required, but always appreciated.

Use a CMS like WordPress, Drupal, or Joomla?

We support oEmbed. It’s an open standard that lets you embed content from our site on yours with almost no setup.

oEmbed API URL:

  • wordPress
  • drupal
  • joomla
  • ghost
  • craft
  • typo3
  • kirby
  • strapi
  • squarespace
  • wix
  • webflow