<?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>Martin Pitt &#187; asteroids</title>
	<atom:link href="http://www.piware.de/tag/asteroids/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.piware.de</link>
	<description>addicted to Ubuntu development</description>
	<lastBuildDate>Mon, 19 Jul 2010 13:55:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Asteroids bot submitted, publishing source</title>
		<link>http://www.piware.de/2008/07/asteroids-bot-submitted-publishing-source/</link>
		<comments>http://www.piware.de/2008/07/asteroids-bot-submitted-publishing-source/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 11:10:45 +0000</pubDate>
		<dc:creator>pitti</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[asteroids]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[hobby]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://martinpitt.wordpress.com/?p=13</guid>
		<description><![CDATA[A while ago I blogged about my participation in the c&#8217;t programming contest to write a bot that plays against the 1979 Atari console. Submission deadline was June 30th, and the results are trickling in now. I am on rank 104, which I&#8217;m more than satisfied with. Unsurprisingly I didn&#8217;t make the top 50, I [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I blogged about <a href="http://www.piware.de/2008/05/07/my-computer-discovered-playing-games/">my participation in the c&#8217;t programming contest</a> to write a bot that plays against the 1979 Atari console.<br />
Submission deadline was June 30th, and <a href="http://www.heise.de/ct/creativ/08/02/ergebnisse/">the results are trickling in</a> now.</p>
<p>I am on rank 104, which I&#8217;m more than satisfied with. Unsurprisingly I didn&#8217;t make the top 50, I spent way too little time on it. But I had lots of fun with it, I have something that works, and at least outperforms my own Asteroids skills <img src='http://www.piware.de/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>In case anyone is interested in it, the source code is on <a href="http://piware.de/bzr/ct-asteroids/">http://piware.de/bzr/ct-asteroids/</a>. It&#8217;s a bzr branch, so you can <code>bzr get</code> the directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piware.de/2008/07/asteroids-bot-submitted-publishing-source/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My computer discovered playing games</title>
		<link>http://www.piware.de/2008/05/my-computer-discovered-playing-games/</link>
		<comments>http://www.piware.de/2008/05/my-computer-discovered-playing-games/#comments</comments>
		<pubDate>Wed, 07 May 2008 09:54:35 +0000</pubDate>
		<dc:creator>pitti</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[asteroids]]></category>
		<category><![CDATA[hobby]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://martinpitt.wordpress.com/2008/05/07/my-computer-discovered-playing-games/</guid>
		<description><![CDATA[The other day I read about the current c&#8217;t programming contest and got addicted immediately. The task is to create a program which plays the Atari Asteroids game from 1979: Unfortunately they do not send that gem to everyone , but they do send the original 8 KB of ROM, so you can play it [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I read about the current <a href="http://www.heise.de/ct/projekte/machmit/asteroids/">c&#8217;t programming contest</a> and got addicted immediately. The task is to create a program which plays the Atari Asteroids game from 1979:</p>
<p><img src="http://www.heise.de/ct/creativ/08/bilder/asteroids.jpg" alt="" /></p>
<p>Unfortunately they do not send that gem to everyone <img src='http://www.piware.de/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> , but they do send the original 8 KB of ROM, so you can play it on the <a href="http://mamedev.org/">MAME emulator</a>.</p>
<p><img src="http://www.heinzwerner.de/emu_asteroids.jpg" alt="" /></p>
<p>So far I got the emulator and the game running, and have a Python script which tracks the objects and their velocity vectors. I spent half of the weekend doing the vector analysis bits with good old pencil and paper. Reviving all the maths bits from school (about 11 years ago) was a lot of fun! Now I have useful formulas for determining the shooting angle to hit a moving comet from a moving and decelerating ship, determining if and when two moving objects with given radius collide, etc. In my head I have a first cut of a strategy, too.</p>
<p>Now I just need to find some time to actually implement all of this&#8230;</p>
<p>Once the contest is over, I&#8217;ll publish my sources, in case anyone else is interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piware.de/2008/05/my-computer-discovered-playing-games/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
