<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rochefort</author_name>
  <author_url>https://blog.hatena.ne.jp/rochefort/</author_url>
  <blog_title>rochefort's blog</blog_title>
  <blog_url>https://rochefort.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>新年あけましておめでとうございます。 正月といえば（私は）麻雀なんですが、今年はやる機会がなかったので rubyで麻雀してみました。 元ネタはこちら makeplex salon：あなたのスキルで飯は食えるか？ 史上最大のコーディングスキル判定 (2/2) - ITmedia エンタープライズ 考え方 3時間以上かかってしまいましたが、なんとかできました。 ここで使う用語。 ・面子（同一 or 連続する牌3枚） ・頭（同一牌2枚） ・待（もう一枚で面子or頭となる牌。1 or 3枚） 上がりとなるパターンは下記２種類と考えます。 ・3面子(9枚)＋頭(2枚)＋待(2枚) ・4面子(12枚)＋待…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frochefort.hatenablog.com%2Fentry%2F20110101%2Fp1&quot; title=&quot;rubyで麻雀の待ちを出力 - rochefort&amp;#39;s 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>2011-01-01 00:00:00</published>
  <title>rubyで麻雀の待ちを出力</title>
  <type>rich</type>
  <url>https://rochefort.hatenablog.com/entry/20110101/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
