<?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>麻雀の打牌選択アルゴリズム(9) - koba::blog 以来、8年ぶりに 電脳麻将 の打牌選択アルゴリズムを変更します。電脳麻将では手牌の 評価値 を元に打牌を選択していますが、評価値計算 の際の「残り牌数」は「見えていない牌数」つまり、相手の手牌・牌山 に隠れている牌*1を指しています。このため流局時でもまだ最大54枚*2が使えると判断するのですが、実際にはもう使える牌はありません。今回「残り牌数」の総和が「ツモ可能枚数」と一致するように正規化します。ツモ可能枚数は流局時には0枚となるため、もはや使える牌はないことが分かる訳です。 *1:ドラ表示牌・自身の手牌・捨て牌・相手の副露牌 とし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kobalab.net%2Fentry%2F2025%2F07%2F26%2F204059&quot; title=&quot;打牌選択アルゴリズム(10) 〜 残り牌数の正規化 - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-07-26 20:40:59</published>
  <title>打牌選択アルゴリズム(10) 〜 残り牌数の正規化</title>
  <type>rich</type>
  <url>https://blog.kobalab.net/entry/2025/07/26/204059</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
