<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zehnpaard</author_name>
  <author_url>https://blog.hatena.ne.jp/zehnpaard/</author_url>
  <blog_title>Arantium Maestum</blog_title>
  <blog_url>https://zehnpaard.hatenablog.com/</blog_url>
  <categories>
    <anon>OCaml</anon>
    <anon>js_of_ocaml</anon>
    <anon>Lwt</anon>
  </categories>
  <description>OCamlでcanvasとLwtを使ってsnakeゲームを実装して、js_of_ocaml + duneでコンパイルしてみた： js_of_ocaml snake - compile to JS with command `dune build ./main.bc.js` · GitHub ポイントとしては ゲームロジックを比較的ステートレスな形でgame.mlに記述（Randomを使っているので完全にステートレスではない・・・） js_of_ocamlやブラウザ機能、Lwtなどはmain.mlのみで利用 という分離。まあこれはOCamlじゃなくても当然だとは思うが。 ゲームロジック game…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2021%2F02%2F28%2F234618&quot; title=&quot;js_of_ocamlでsnake作ってみた - Arantium Maestum&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>2021-02-28 23:46:18</published>
  <title>js_of_ocamlでsnake作ってみた</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2021/02/28/234618</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
