<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="resources/mml/mathml.xsl"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
               "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" [
  <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
]>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Jason Heeris :: Game of Life</title>
<link rel="stylesheet" href="resources/css/main.css" type="text/css" title="default" media="screen"/>
<link rel="stylesheet" href="resources/css/print.css" type="text/css" title="default" media="print" />
<link rel="alternate stylesheet" href="resources/css/none.css" type="text/css" title="none" media="screen"/>
<script type="text/javascript" src="resources/js/mootools-1.2.1-core-nc.js"></script>
<script type="text/javascript" src="resources/js/mootools-1.2-more.js"></script>
<script type="text/javascript" src="resources/js/main.js"></script>
</head>

<body>

<div id="body">

<div id="header">
<h1>Jason Heeris</h1>

</div>



<div>

<div id="navbar">

<h6>Contents</h6>

<ul>
<li><a href="about">About Me</a></li>

<li><a href="blog">Blog</a></li>

<li><a href="cv">Curriculum Vitae</a></li>

<li><a href="phys">Physics Honours Project</a></li>

<li><a href="fyp">Engineering Final Year Project</a></li>

<li class="current"><a href="gol">Game of Life</a></li>

<li><a href="sol">Destroy the Sun!</a></li>

<li><a href="st">Science Show Audience Guide</a></li>

<li><a href="darwin">Darwin Award Warning Signs</a></li>

<li><a href="tm">Time Machine</a></li>

</ul>

</div>


<div id="main-content">

<h2>Game of Life</h2>

<p>My strange fascination with the Game of Life has resulted in these applets, 
which are more indicative of how much time I can waste than anything else. 
It's interesting how far it's come, given that it grew out of nothing more 
than a one-class implementation (a simple canvas, with its own inbuilt 
rules and a randomly generated starting pattern).</p>

<p><b>The Standard Game</b>: as well as the normal <a 
href="http://www.bitstorm.org/gameoflife/">Game of Life</a> rules (ie. 
John Conway&rsquo;s), I started tinkering with a few other algorithms. 
Eventually, I managed to implement a table in the GUI, so that you can 
modify the basic algorithm as you like. <a href="golm">Try it</a>. With
a slight modification of the parameters, you can get some
<a href="golx">interesting effects</a>.</p>


<p><b>The Colour Game</b>: allowing the cells to have more than a simple on/off
state is implemented by giving them colour. Consequently, there is a much
greater variety of algorithms that can be used. Unfortunately, this means that
it&rsquo;s much harder to implement any sort of user interface to create
different algorithms, so I&rsquo;ve only gone halfway - I&rsquo;ve created
various &ldquo;rules&rdquo; which can be assembled into algorithms and put
together a few interesting ones. <a href="golc">Try 
it too</a>.</p>

<p>If you really want, you can <a href="resources/applets/GameOfLife.jar"> download 
the jar file</a> itself, and play around with it. It runs by GUI or via 
command line. There&rsquo;s also the <a
href="resources/applets/GameOfLife.tar.bz2">source</a> &mdash; largely undocumented and 
mostly experimental, but nonetheless buildable and useable.</p>

<p>All Java Applets require the <a 
href="http://www.java.com/en/index.jsp">Java Runtime 
Environment</a> 5.0 or later, available from <a 
href="http://java.sun.com/">Sun</a>.</p>




<address>&copy; Jason Heeris 2003
<br />Everything here conforms to <a href="http://validator.w3.org/check?uri=http://www.heeris.id.au/">HTML 4.01</a> and <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.heeris.id.au/">CSS 2.1</a>.
<br />Page styling: <a href="#" class="css-select" title="default">On</a> | <a href="#" class="css-select" title="none">Off</a>
<br />
</address>

<div class="note">

<p>If you are viewing this on Internet Explorer, it will probably not display properly. Standards compliance, like happiness, is clearly something that money cannot buy.</p>

<p>Seriously, I give up.</p>

</div>

</div>

<div style="clear: both">&nbsp;</div>

</div>

</div>

</body>
</html>
