<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xlc</author_name>
  <author_url>https://blog.hatena.ne.jp/xlc/</author_url>
  <blog_title>koba::blog</blog_title>
  <blog_url>https://blog.kobalab.net/</blog_url>
  <categories>
    <anon>麻雀</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>対局者のUIは Majiang.UI.Player*1 で実装しますが、その構造はやや複雑です。今回はまず構造から説明します*2。電脳麻将 で対局者を実現するのは以下の2つのクラスです。 Majiang.AI パッケージ @kobalab/majiang-ai で実装する 麻雀AI です。 Majiang.UI.Player パッケージ @kobalab/majiang-ui で実装する打牌選択などの UI です。今回説明したい対象はこちらです。 *1:ソースプログラムはリファクタリング前の実装ですので、一部ブログ記事と一致しな箇所があることをご了承ください *2:「電脳麻将本」から抜粋しなが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kobalab.net%2Fentry%2F2026%2F04%2F13%2F001330&quot; title=&quot;電脳麻将UI 〜 対局者(基盤) - koba::blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/x/xlc/20260412/20260412070441.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-04-13 00:13:30</published>
  <title>電脳麻将UI 〜 対局者(基盤)</title>
  <type>rich</type>
  <url>https://blog.kobalab.net/entry/2026/04/13/001330</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
