<?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>Clojure</anon>
  </categories>
  <description>Conway's Game of LifeをClojureで実装してみる。 何となく簡単そうだったので試してみたら、やっぱり簡単だった。 主要なロジックはnext-round関数にほぼ収まりきっている。個人的にはかなり宣言的にゲームのルールを記述するところが大部分を占めているように思うのでプチ満足。 (defn next-round [live-cells] (letfn [(surrounding [[cell-x cell-y]] (for [x [-1 0 1] y [-1 0 1] :when (not (= 0 x y))] [(+ cell-x x) (+ cell-y y)]))…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2016%2F05%2F20%2F222944&quot; title=&quot;ClojureでGame of Lifeを書いてみた - 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>2016-05-20 22:29:44</published>
  <title>ClojureでGame of Lifeを書いてみた</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2016/05/20/222944</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
