<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Games on Theta Nil's Blog</title><link>https://wickedgrog.com/tags/games/</link><description>Recent content in Games on Theta Nil's Blog</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Thu, 28 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://wickedgrog.com/tags/games/index.xml" rel="self" type="application/rss+xml"/><item><title>Rogammon</title><link>https://wickedgrog.com/p/rogammon/</link><pubDate>Thu, 28 May 2026 00:00:00 +0000</pubDate><guid>https://wickedgrog.com/p/rogammon/</guid><description>&lt;img src="https://wickedgrog.com/p/rogammon/cover.png" alt="Featured image of post Rogammon" /&gt;&lt;p&gt;&lt;a class="link" href="https://wickedgrog.com/gammonv1/" &gt;Play Rogammon →&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A backgammon board drawn and animated in pure SVG — no canvas, no WebGL, no external dependencies beyond a single JavaScript file. The board lives in the browser; nothing touches a server.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Circular layout.&lt;/strong&gt; The 24 points are arranged around a clock face rather than the traditional rectangular board. Checkers stack inward toward the hub, and the bar runs as a horizontal band across the centre.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Dice and autoplay.&lt;/strong&gt; Click Roll to get a pair of dice, then click a point or checker to move. Autoplay button plays both sides automatically so you can watch a game run to completion.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Implementation.&lt;/strong&gt; The entire game — board geometry, checker rendering, move validation, dice, and UI — is in &lt;code&gt;rogammon.js&lt;/code&gt;, a single self-contained script with no build step. SVG elements are created with &lt;code&gt;document.createElementNS&lt;/code&gt; and positioned with trigonometry derived from the point angle formula:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;θᵢ = θ₀ + i · (2π / 24)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;where &lt;code&gt;θ₀ = 277.5°&lt;/code&gt; places the gap between points 6 and 7 at 3 o&amp;rsquo;clock.&lt;/p&gt;</description></item></channel></rss>