<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s51517765</author_name>
  <author_url>https://blog.hatena.ne.jp/s51517765/</author_url>
  <blog_title>プログラミング素人のはてなブログ</blog_title>
  <blog_url>https://s51517765.hatenadiary.jp/</blog_url>
  <categories>
    <anon>python_3</anon>
  </categories>
  <description>石取りゲームとは、2人のプレーヤーが交互に決まった上限までの石を取っていって、最後の一個を取ったら勝ち（負け）というゲームです。例えば、8個から始めて、一度に3個まで、最後の一個をと取ったほうが勝ちとすると、 先手３個 〇〇〇\〇〇〇〇〇 残り５個 後手２個 〇〇〇\〇〇\〇〇〇 残り３個 先手３個 〇〇〇\〇〇\〇〇〇\ 残り０個で、先手の勝ちです。最後の一個を取ったら「勝ち」なのか「負け」なのかは、ローカルルールとかあるかもしれませんが、「負け」のほうが一般的なようです。 ここでは敢えて逆に最後の一個を取ったら「勝ち」として進めます。この石取りゲームには必勝法があることは有名です。 この必…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fs51517765.hatenadiary.jp%2Fentry%2F2018%2F08%2F03%2F073000&quot; title=&quot;pythonで石取りゲーム - プログラミング素人のはてなブログ&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/s/s51517765/20180802/20180802224836.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-03 07:30:00</published>
  <title>pythonで石取りゲーム</title>
  <type>rich</type>
  <url>https://s51517765.hatenadiary.jp/entry/2018/08/03/073000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
