<?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>xiaoma de blog &#187; Processing</title>
	<atom:link href="http://www.floatingvectors.com/blog/tag/processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.floatingvectors.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 22 Jan 2012 11:51:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Game Of Life</title>
		<link>http://www.floatingvectors.com/blog/108/</link>
		<comments>http://www.floatingvectors.com/blog/108/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 10:43:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[软件[Code]]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://www.floatingvectors.com/blog/?p=108</guid>
		<description><![CDATA[
Game Of Life
Game rules:

Any live cell with fewer than two live neighbours dies, as if caused by underpopulation.
Any live cell with more than three live neighbours dies, as if by overcrowding.
Any live cell with two or three live neighbours lives on to the next generation.
Any dead cell with exactly three live neighbours becomes a live [...]]]></description>
			<content:encoded><![CDATA[<p><applet code=GameOfLife.class archive=”http://www.floatingvectors.com/blog/wp-content/uploads/2009/09/GameOfLife.jar” width=601 height=361></applet></p>
<h1>Game Of Life</h1>
<p>Game rules:</p>
<ol>
<li>Any live cell with fewer than two live neighbours dies, as if caused by underpopulation.</li>
<li>Any live cell with more than three live neighbours dies, as if by overcrowding.</li>
<li>Any live cell with two or three live neighbours lives on to the next generation.</li>
<li>Any dead cell with exactly three live neighbours becomes a live cell</li>
</ol>
<p>You may need to click it to get keyboard focus:)<br />
How to play:</p>
<ol>
<li>Click a cell to kill or give birth to it.</li>
<li>Press &#8216;c&#8217; to clear cells.</li>
<li>Press &#8216;r&#8217; to randomize cells.</li>
<li>Press &#8216;d&#8217; to generate glider gun pattern.</li>
<li>Press &#8216;g&#8217; to run.</li>
<li>Press &#8217;s&#8217; to run by step.</li>
<li>Press &#8216;p&#8217; to pause.</li>
</ol>
<p>Made with <a title="Processing.org" href="http://processing.org">Processing</a></p>
<p><a href="http://www.floatingvectors.com/blog/wp-content/uploads/code/Processing/">Source code</a>. </p>
<p>HTML Code:</p>
<p>&lt;applet code=GameOfLife.class archive=&#8221;http://www.floatingvectors.com/blog/wp-content/uploads/2009/09/GameOfLife.jar&#8221; width=601 height=361&gt;&lt;/applet&gt;</p>
<p>Reference:</p>
<p><a href="http://www.iam.ubc.ca/guides/javatut99/jar/basics/run.html">Running JAR-Packaged Software</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.floatingvectors.com/blog/108/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

