<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syun77</author_name>
  <author_url>https://blog.hatena.ne.jp/syun77/</author_url>
  <blog_title>2dgames.jp</blog_title>
  <blog_url>https://2dgames.jp/</blog_url>
  <categories>
    <anon>AI</anon>
    <anon>ゲームプログラム</anon>
    <anon>経路探索</anon>
  </categories>
  <description>1.はじめに ここでは、戦術SLGの作り方について説明をします。 上記の記事では移動範囲の求め方を紹介しましたが、今回はその応用として、AIの移動アルゴリズムを紹介します。 2.基本編 まず最初は、「移動可能な範囲にプレイヤーがいる」といったシンプルなモデルで考えてみます。 最短移動距離を求める この表は、前回の最後で求めた、移動範囲の検索結果です。 黄色の部分にプレイヤーがいるとします。 人間であれば、上→上→右（攻撃範囲を考えると右は必要ない）と瞬時に答えが出ますが、コンピュータはそうはいきません。 最短距離で移動させるアルゴリズムとしては、 経路探索開始地点をプレイヤーがいる地点（黄色）…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2dgames.jp%2Fentry%2Fhow-to-make-strategy-ai%2F&quot; title=&quot;戦術SLGの作り方（AIの思考ルーチン） - 2dgames.jp&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/syun77/20250816/20250816132912.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-25 23:21:37</published>
  <title>戦術SLGの作り方（AIの思考ルーチン）</title>
  <type>rich</type>
  <url>https://2dgames.jp/entry/how-to-make-strategy-ai/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
