<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shiba_yu36</author_name>
  <author_url>https://blog.hatena.ne.jp/shiba_yu36/</author_url>
  <blog_title>$shibayu36-&gt;blog;</blog_title>
  <blog_url>https://blog.shibayu36.org/</blog_url>
  <categories>
    <anon>tech</anon>
  </categories>
  <description>clusterのリアルタイム通信サーバーの漸進的な進化のような仕組みを理解したいなと思い、手習い用にMQTT+Protocol Buffersを使ってリアルタイムに2次元位置を同期するサーバーを書いてみている。今回はリアルタイムに2次元位置を同期するサーバーでプレイヤーから弾を発射できるようにの続きで、プレイヤーが爆弾を配置できるようにした。 できたもの client側でBボタンを押すとその場に爆弾を配置できる。爆弾はしばらくすると爆破し、火に当たるとプレイヤーはやられる。 実装コードはこの辺り https://github.com/shibayu36/terminal-shooter/pul…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayu36.org%2Fentry%2F2025%2F03%2F04%2F092143&quot; title=&quot;リアルタイムに2次元位置を同期するサーバーで爆弾を置けるようにした - $shibayu36-&amp;gt;blog;&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/shiba_yu36/20250304/20250304090455.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-03-04 09:21:43</published>
  <title>リアルタイムに2次元位置を同期するサーバーで爆弾を置けるようにした</title>
  <type>rich</type>
  <url>https://blog.shibayu36.org/entry/2025/03/04/092143</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
