<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
  <channel>
    <title>#botswana posts — Ben Crowder</title>
    <link>https://bencrowder.net/blog/tag/botswana/</link>
    <atom:link href="https://bencrowder.net/blog/tag/botswana/feed/" rel="self" />
    <description>Feed for blog posts tagged with #botswana.</description>
    <lastBuildDate>Mon, 13 Apr 2026 03:29:26 GMT</lastBuildDate>
    <language>en-US</language>
    <generator>https://bencrowder.net/</generator>

    <item>
      <title>Botswana 2.0</title>
      <link>https://bencrowder.net/blog/2013/botswana-2/</link>
      <guid isPermaLink="true">https://bencrowder.net/blog/2013/botswana-2/</guid>
      <pubDate>Mon, 14 Jan 2013 12:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Ben Crowder]]></dc:creator>
      <description><![CDATA[<p>Two years ago my friend Chad and I released <a href="https://bencrowder.net/coding/2011/botswana/">Botswana</a>, a browser-based arena game with programmable bots written in JavaScript.</p>
<p>But the original was kind of boring. So we tweaked the game mechanics a bit and made a number of other modifications (multiple bots per team, extensible rulesets, etc.). And now we present <a href="https://bencrowder.net/coding/botswana/">Botswana 2.0</a>, a culmination of rampant nerdiness.</p>
<figure><a href="https://cdn.bencrowder.net/images/2013/01/botswana-01.png" rel="shadowbox"><img src="https://cdn.bencrowder.net/images/2013/01/botswana-01-630.png" alt="" /></a></figure>
<p>The thing that interests me most about the game now is the customizable rulesets. For example, it took all of ten minutes to change the game so it’s played on a series of conveyor belts that move the bots up and down:</p>
<figure><a href="https://cdn.bencrowder.net/images/2013/01/botswana-02.png" rel="shadowbox"><img src="https://cdn.bencrowder.net/images/2013/01/botswana-02-630.png" alt="" /></a></figure>
<p>It likewise took less than half an hour to make the bots orbit the Death Star instead:</p>
<figure><a href="https://cdn.bencrowder.net/images/2013/01/botswana-03.png" rel="shadowbox"><img src="https://cdn.bencrowder.net/images/2013/01/botswana-03-630.png" alt="" /></a></figure>
<p>Since the drawing code is part of the ruleset, it’s fairly easy to get a radically different look:</p>
<figure><a href="https://cdn.bencrowder.net/images/2013/01/botswana-04.png" rel="shadowbox"><img src="https://cdn.bencrowder.net/images/2013/01/botswana-04-630.png" alt="" /></a></figure>
<p>Switching between the rulesets is just a matter of changing the URL in the ruleset box and starting a new tournament.</p>
<p>Anyway, as before, the release is on <a href="http://github.com/bencrowder/botswana">GitHub</a>, with a README that explains how to write bots and customize rulesets and stuff.</p><hr class="feed-extra" style="margin-top: 48pt;" /><p class="feed-extra feed-mail"><a href="mailto:ben.crowder@gmail.com?subject=Re%3A%20Botswana 2.0">Reply via email</a></p>]]></description>
    </item>
    <item>
      <title>Botswana</title>
      <link>https://bencrowder.net/blog/2011/botswana/</link>
      <guid isPermaLink="true">https://bencrowder.net/blog/2011/botswana/</guid>
      <pubDate>Mon, 14 Feb 2011 12:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Ben Crowder]]></dc:creator>
      <description><![CDATA[<p>As previewed <a href="https://bencrowder.net/coding/2011/botswana-sneak-preview/">a little while ago</a>, I’d like to introduce <a href="http://github.com/bencrowder/botswana/">Botswana</a>:</p>
<figure><a href="https://cdn.bencrowder.net/images/2011/02/botswana.png" rel="shadowbox"><img src="https://cdn.bencrowder.net/images/2011/02/botswana-525x308.png" alt="" title="botswana" /></a></figure>
<p>A couple weeks ago at work I was talking with two of my coworkers and <a href="http://en.wikipedia.org/wiki/Core_War">Core War</a> came up somehow. I got excited about the idea of writing AI bots to compete with each other. Conferring with my friend <a href="http://chadgh.com">Chad</a>, we decided to make it web-based and use Javascript as the scripting language for both the bots and the game engine. A couple days later, we had a working engine, and we’ve been fine-tuning it since then.</p>
<p>Each turn, the engine sends the current state of the world to each bot. The bot can then give the engine its command — to move forward, move backward, turn left, turn right, or fire. Last bot standing wins. We’ve gone with an intentionally simple rule system for now, but we’ve got some fun plans for future improvements.</p>
<p>The code’s open source and is on <a href="http://github.com/bencrowder/botswana">Github</a>.</p><hr class="feed-extra" style="margin-top: 48pt;" /><p class="feed-extra feed-mail"><a href="mailto:ben.crowder@gmail.com?subject=Re%3A%20Botswana">Reply via email</a></p>]]></description>
    </item>
    <item>
      <title>Botswana sneak preview</title>
      <link>https://bencrowder.net/blog/2011/botswana-sneak-preview/</link>
      <guid isPermaLink="true">https://bencrowder.net/blog/2011/botswana-sneak-preview/</guid>
      <pubDate>Fri, 04 Feb 2011 12:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Ben Crowder]]></dc:creator>
      <description><![CDATA[<p>Here’s a quick sneak preview of my current project:</p>
<figure><a href="https://cdn.bencrowder.net/images/2011/02/botswana_sneakpreview.png" rel="shadowbox"><img src="https://cdn.bencrowder.net/images/2011/02/botswana_sneakpreview-525x373.png" alt="" title="botswana_sneakpreview" /></a></figure><hr class="feed-extra" style="margin-top: 48pt;" /><p class="feed-extra feed-mail"><a href="mailto:ben.crowder@gmail.com?subject=Re%3A%20Botswana sneak preview">Reply via email</a></p>]]></description>
    </item>
    
  </channel>
</rss>
