Sematkan papan di webmu

Tempel kode di bawah ke tempat papan akan ditampilkan (halaman HTML, atau blok “HTML kustom” di WordPress, Blogger, Wix…). Bingkainya menyesuaikan tinggi konten secara otomatis. Pemain yang ingin menyimpan nama dan melihat papan peringkat bisa mengklik tautan di bawah papan untuk pergi ke MateMoves.

Xiangqi

Saat dibuka:
<iframe src="https://matemoves.com/id/nhung/co-tuong/" title="Xiangqi melawan komputer" allow="fullscreen" style="width:100%;border:0;height:640px" loading="lazy"></iframe>
<script>
addEventListener("message", (e) => {
  if (e.origin !== "https://matemoves.com" || !e.data?.choicoCao) return;
  for (const f of document.querySelectorAll("iframe")) if (f.contentWindow === e.source) f.style.height = e.data.choicoCao + "px";
});
</script>

Lihat sematan ↗

Pratinjau

Jieqi

Saat dibuka:
<iframe src="https://matemoves.com/id/nhung/co-up/" title="Jieqi melawan komputer" allow="fullscreen" style="width:100%;border:0;height:640px" loading="lazy"></iframe>
<script>
addEventListener("message", (e) => {
  if (e.origin !== "https://matemoves.com" || !e.data?.choicoCao) return;
  for (const f of document.querySelectorAll("iframe")) if (f.contentWindow === e.source) f.style.height = e.data.choicoCao + "px";
});
</script>

Lihat sematan ↗

Pratinjau

Catur

Saat dibuka:
<iframe src="https://matemoves.com/id/nhung/co-vua/" title="Catur melawan komputer" allow="fullscreen" style="width:100%;border:0;height:640px" loading="lazy"></iframe>
<script>
addEventListener("message", (e) => {
  if (e.origin !== "https://matemoves.com" || !e.data?.choicoCao) return;
  for (const f of document.querySelectorAll("iframe")) if (f.contentWindow === e.source) f.style.height = e.data.choicoCao + "px";
});
</script>

Lihat sematan ↗

Pratinjau

Gomoku

Saat dibuka:
<iframe src="https://matemoves.com/id/nhung/caro/" title="Gomoku melawan komputer" allow="fullscreen" style="width:100%;border:0;height:640px" loading="lazy"></iframe>
<script>
addEventListener("message", (e) => {
  if (e.origin !== "https://matemoves.com" || !e.data?.choicoCao) return;
  for (const f of document.querySelectorAll("iframe")) if (f.contentWindow === e.source) f.style.height = e.data.choicoCao + "px";
});
</script>

Lihat sematan ↗

Pratinjau

Ô ăn quan

Saat dibuka:
<iframe src="https://matemoves.com/id/nhung/o-an-quan/" title="Ô ăn quan melawan komputer" allow="fullscreen" style="width:100%;border:0;height:640px" loading="lazy"></iframe>
<script>
addEventListener("message", (e) => {
  if (e.origin !== "https://matemoves.com" || !e.data?.choicoCao) return;
  for (const f of document.querySelectorAll("iframe")) if (f.contentWindow === e.source) f.style.height = e.data.choicoCao + "px";
});
</script>

Lihat sematan ↗

Pratinjau

Go

Saat dibuka:
<iframe src="https://matemoves.com/id/nhung/co-vay/" title="Go melawan komputer" allow="fullscreen" style="width:100%;border:0;height:640px" loading="lazy"></iframe>
<script>
addEventListener("message", (e) => {
  if (e.origin !== "https://matemoves.com" || !e.data?.choicoCao) return;
  for (const f of document.querySelectorAll("iframe")) if (f.contentWindow === e.source) f.style.height = e.data.choicoCao + "px";
});
</script>

Lihat sematan ↗

Pratinjau

Go 13x13

Saat dibuka:
<iframe src="https://matemoves.com/id/nhung/co-vay/13/" title="Go 13x13 melawan komputer" allow="fullscreen" style="width:100%;border:0;height:640px" loading="lazy"></iframe>
<script>
addEventListener("message", (e) => {
  if (e.origin !== "https://matemoves.com" || !e.data?.choicoCao) return;
  for (const f of document.querySelectorAll("iframe")) if (f.contentWindow === e.source) f.style.height = e.data.choicoCao + "px";
});
</script>

Lihat sematan ↗

Pratinjau

Go 19x19

Saat dibuka:
<iframe src="https://matemoves.com/id/nhung/co-vay/19/" title="Go 19x19 melawan komputer" allow="fullscreen" style="width:100%;border:0;height:640px" loading="lazy"></iframe>
<script>
addEventListener("message", (e) => {
  if (e.origin !== "https://matemoves.com" || !e.data?.choicoCao) return;
  for (const f of document.querySelectorAll("iframe")) if (f.contentWindow === e.source) f.style.height = e.data.choicoCao + "px";
});
</script>

Lihat sematan ↗

Pratinjau