<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>MoriYu</author_name>
  <author_url>https://blog.hatena.ne.jp/MoriYu/</author_url>
  <blog_title>brainless thinking</blog_title>
  <blog_url>https://moriyu-2.hatenadiary.org/</blog_url>
  <categories>
    <anon>雑</anon>
  </categories>
  <description>あれだけ勉強したＣ言語を忘れそうになっているので、長いこと仕事でプログラミングしていないのもあってお手軽なゲームを作ってみた。Bulls and Cows という。 ２人で遊ぶ場合、１〜５の数字を１つずつ使って３桁の数字を考えて、相手の数を先に当てたら勝ち。数値の位置も合っていたら bull(s)、位置は違うけど含まれていたら cow(s) と言う。答え：321 １回目：123 → 1 bull 2 cows ２回目：132 → 3 cows ３回目：321 → 3 bulls (CORRECT !) ソースコードはこちら。英語版 Wikipedia では、この類のゲームを「Paper and…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoriyu-2.hatenadiary.org%2Fentry%2F20070505%2F1178365483&quot; title=&quot;ＧＷも残すところ１日となりますが - brainless thinking&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/M/MoriYu/20070505/20070505202925.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-05-05 20:44:43</published>
  <title>ＧＷも残すところ１日となりますが</title>
  <type>rich</type>
  <url>https://moriyu-2.hatenadiary.org/entry/20070505/1178365483</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
