<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aoi-shogi</author_name>
  <author_url>https://blog.hatena.ne.jp/aoi-shogi/</author_url>
  <blog_title>aoi-shogiの開発ブログ</blog_title>
  <blog_url>https://aoi-shogi.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>df-pnルーチンや探索部を書いたときなどに、テストをするための詰将棋問題に困ることがあります。 例えば1手詰(1手詰めとも表記します)であれば、 sfen 4k4/9/4S4/9/9/9/9/9/9 b G 1などを使えばよいですが、このような問題を何回も作るのは大変です。 やねうらおさんが公開している実戦詰将棋問題集のようなものをPythonで自動生成できれば、テストが楽になります。今回は、 1手詰 余詰(複数回答)なし 駒余りあり 飾り駒を取り除かない 実戦詰将棋を作ります。cshogiを使うので、事前にコマンドプロンプトやターミナルで pip install cshogiを実行してイン…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faoi-shogi.hateblo.jp%2Fentry%2F2025%2F05%2F04%2F003000&quot; title=&quot;1手詰の実戦詰将棋をPythonで生成する - aoi-shogiの開発ブログ&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/a/aoi-shogi/20250503/20250503092803.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-04 00:30:00</published>
  <title>1手詰の実戦詰将棋をPythonで生成する</title>
  <type>rich</type>
  <url>https://aoi-shogi.hateblo.jp/entry/2025/05/04/003000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
