<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>TadaoYamaoka</author_name>
  <author_url>https://blog.hatena.ne.jp/TadaoYamaoka/</author_url>
  <blog_title>TadaoYamaokaの開発日記</blog_title>
  <blog_url>https://tadaoyamaoka.hatenablog.com/</blog_url>
  <categories>
    <anon>cshogi</anon>
    <anon>df-pn</anon>
  </categories>
  <description>前回、cshogiに移植したGPS将棋のdf-pnを、攻め方に玉がない局面に対応した。 対応内容 既存のPositionクラスのcheckerBBを玉がない場合、空にする findCheckers()、hiddenCheckers()を玉なしの場合、空にする isOSのassertを玉がない場合に対応 探索アルゴリズム中のkingSquare_をSquareNum(駒台)扱いにする 玉位置参照している箇所をisInSquare()でガード PyPI 対応したバージョンをPyPIにv1.0.1として登録した。github.com まとめ cshogiを攻め方に玉がない局面に対応した。 これで、詰…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftadaoyamaoka.hatenablog.com%2Fentry%2F2026%2F06%2F16%2F231021&quot; title=&quot;cshogiにGPS将棋のdf-pnを移植（その２ 攻め方に玉がない局面に対応） - TadaoYamaokaの開発日記&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>2026-06-16 23:10:21</published>
  <title>cshogiにGPS将棋のdf-pnを移植（その２ 攻め方に玉がない局面に対応）</title>
  <type>rich</type>
  <url>https://tadaoyamaoka.hatenablog.com/entry/2026/06/16/231021</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
