<?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>Jamie&#039;s Blog &#187; ai</title>
	<atom:link href="http://www.angelforge.org/wordpress/tags/ai/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.angelforge.org/wordpress</link>
	<description>My life is words.</description>
	<lastBuildDate>Sat, 28 Jan 2012 04:35:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Tron Bot</title>
		<link>http://www.angelforge.org/wordpress/programming/tron-bot/</link>
		<comments>http://www.angelforge.org/wordpress/programming/tron-bot/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 01:31:35 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ai]]></category>
		<category><![CDATA[bot]]></category>
		<category><![CDATA[flood fill]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[minimax]]></category>
		<category><![CDATA[oss]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[tron]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=2277</guid>
		<description><![CDATA[I spent a few hours cooking up an entry for this Tron Bot AI Competition. The starter packages they provided made it really easy to enter. I created an entry in python. The competition page is: http://csclub.uwaterloo.ca/contest/ The strategy for my bot: I tried to implement painter&#8217;s flood fill per Wikipedia. This worked okay and [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a few hours cooking up an entry for this Tron Bot AI Competition. The starter packages they provided made it really easy to enter. I created an entry in python. The competition page is: <a href="http://csclub.uwaterloo.ca/contest/">http://csclub.uwaterloo.ca/contest/</a></p>
<p>The strategy for my bot:</p>
<ol>
<li>I tried to implement painter&#8217;s flood fill per  Wikipedia. This worked okay and I got to around ~300.</li>
<li>Then I implemented A<tt>*</tt>. The strategy was to get  within 5 squares of the enemy, and then flood fill. My reasoning was  that if I had a better fill algorithm, I would win at that point.</li>
<li>Next, I tried to implement minimax with alpha-beta  pruning. It&#8217;s not tested, but it should be fairly close. All I am  missing is a utility function (well, that is probably the most impt  piece!). For the utility function, I wanted to bisect the playing field  by finding the perpendicular bisector between the players, then  flood-filling to determine the number of blank spaces in each player&#8217;s  respective region. I have the bisection algorithm done, but got bored  once I started implementing the flood fill.</li>
</ol>
<p>The project page is, it contains the source as well: <a href="http://code.google.com/p/tron-bot-waterloo/">http://code.google.com/p/tron-bot-waterloo/</a></p>
<p>Bot runs:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="445" height="364" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/Jyys22xoWDI&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;border=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="445" height="364" src="http://www.youtube.com/v/Jyys22xoWDI&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;border=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/programming/tron-bot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Thirteen Application</title>
		<link>http://www.angelforge.org/wordpress/programming/software/facebook-thirteen-application/</link>
		<comments>http://www.angelforge.org/wordpress/programming/software/facebook-thirteen-application/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 03:29:54 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[ai]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[facebook api]]></category>
		<category><![CDATA[facebook app]]></category>
		<category><![CDATA[fbml]]></category>
		<category><![CDATA[game programming]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=1731</guid>
		<description><![CDATA[This application was written primarily as an exercise in creating Facebook Applications. It was very instructive! Here is the project blog if you&#8217;d like more details http://thirteengame.blogspot.com/. It is an adaptation of a web app I originally wrote in 2007. You may play either by logging into Facebook and trying it out, or logging in [...]]]></description>
			<content:encoded><![CDATA[<p>This application was written primarily as an exercise in creating Facebook Applications. It was very instructive! Here is the project blog if you&#8217;d like more details <a href="http://thirteengame.blogspot.com/">http://thirteengame.blogspot.com/</a>.</p>
<p>It is an adaptation of a web app I originally wrote in 2007. You may play either by logging into Facebook and trying it out, or logging in here <a href="http://www.angelforge.org/thirteen/LoginPage.php">http://www.angelforge.org/thirteen/LoginPage.php</a>. To login outside of Facebook, you may either use the user name and password <b>guest</b> or login with your Facebook credentials using Facebook Connect.</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/yoCfQm_0UUo&#038;hl=en&#038;fs=1&#038;color1=0x2b405b&#038;color2=0x6b8ab6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/yoCfQm_0UUo&#038;hl=en&#038;fs=1&#038;color1=0x2b405b&#038;color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/programming/software/facebook-thirteen-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

