<?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>盤面に白石と黒石を交互に打てるようにします。打ったときにはカチッっと気持ちい音が鳴るようにもしています。othello02.jar マウスで石を打つ 盤面をマウスでクリックしたとき石が打たれるようにするためにmouseClicked()を実装します。 public void mouseClicked(MouseEvent e) { // どこのマスかを調べる int x = e.getX() / GS; int y = e.getY() / GS; // その場所に石を打つ putDownStone(x, y); // 音を鳴らす kachi.play(); // 盤面が変化したので再描画する…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faidiary.hatenablog.com%2Fentry%2F20041217%2F1273400143&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2004-12-17 19:15:43</published>
  <title> マウスで石を打つ</title>
  <type>rich</type>
  <url>https://aidiary.hatenablog.com/entry/20041217/1273400143</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
