<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aidiary</author_name>
  <author_url>https://blog.hatena.ne.jp/aidiary/</author_url>
  <blog_title>人工知能に関する断創録</blog_title>
  <blog_url>https://aidiary.hatenablog.com/</blog_url>
  <categories>
    <anon>Javagame</anon>
  </categories>
  <description>オセロで石が打てる場所は相手の石をひっくり返せるところだけです。今回は石が打てる場所を判定する処理を実装します。othello03.jar 石が打てるか判定する 石を打つmouseClicked()に注目してください。 public void mouseClicked(MouseEvent e) { ・・・ // (x, y)に石が打てる場合だけ打つ if (canPutDown(x, y)) { // その場所に石を打つ putDownStone(x, y); ・・・ } ・・・ } canPutDown(x,y)で(x,y)の位置に石が打てるか調べる処理が入っています。ここでtrueが返さ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faidiary.hatenablog.com%2Fentry%2F20041217%2F1273400313&quot; title=&quot; 石が打てる場所か判定する - 人工知能に関する断創録&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>http://cdn-ak.f.st-hatena.com/images/fotolife/a/aidiary/20100509/20100509191705.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2004-12-17 19:18:33</published>
  <title> 石が打てる場所か判定する</title>
  <type>rich</type>
  <url>https://aidiary.hatenablog.com/entry/20041217/1273400313</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
