Latest Tweet:
  • Loading...

gameoflifeGame of Life is one of those simple, yet really fascinating mathematical ideas you sometime learn about. One of the assignments in the course "object oriented software development" is to first model the "Game of Life" and then implement it in Java.

The Game of Life was invented by Dr. John Conway, and is one of the simplest examples of what is sometimes called "emergent complexity" or "self-organizing systems." Life isn't a game in the traditional sense of the word. It's a grid filled with cells, either dead or alive. Some simple rules determines the state of a cell. The rules that rule the universe of "Life" are as follow:

  • A dead cell with exactly three live neighbors becomes a live cell (birth).
  • A live cell with two or three live neighbors stays alive (survival).
  • In all other cases, a cell dies or remains dead (overcrowding or loneliness).

I got really fascinated by this simple "game", and after doing some reading on the subject it turns out you can implement a "turing machine" in Live, which basically means you can implement any computer program as a pattern inside the "Life" game. For instance there are examples where people have implemented programs that finds prime numbers using the simple rules of "Life".

If you're interested in learning more about "The Game of Life" I recommend checking up the site "Wonders of Math". The Wikipedia article on the subject also gives a nice introduction to the game. If you want to get the latest and greatest discoveries of new and interested patterns in "Life" the "Game of Life News" site is the place to be. If you want to learn how to implement a touring machine in "Life" check out this PDF document. If you just want to check out the "code", check out this gif image showing the touring machine pattern.

If you want to play with Game of Life your self you can either run my compiled version directly (JAR) or download a ZIP file containing both the compiled version and the Java code.

Thursday, June 21, 2007 1:36:14 AM (W. Europe Daylight Time, UTC+02:00)
Ne nasovsem a navsegd. Reece Bidelia.
Thursday, July 05, 2007 2:29:29 AM (W. Europe Daylight Time, UTC+02:00)
So Ill see you man tomorro. Hadad Usoa.
Saturday, July 14, 2007 10:57:39 AM (W. Europe Daylight Time, UTC+02:00)
Before you started toki. Aileas Igon.
Saturday, July 21, 2007 2:34:17 PM (W. Europe Daylight Time, UTC+02:00)
ntup njdbg vetni gsdbapjqc oizecqlbu ztdefx xvuprmhi
Saturday, July 21, 2007 2:35:06 PM (W. Europe Daylight Time, UTC+02:00)
ntup njdbg vetni gsdbapjqc oizecqlbu ztdefx xvuprmhi
Saturday, July 21, 2007 2:35:28 PM (W. Europe Daylight Time, UTC+02:00)
ntup njdbg vetni gsdbapjqc oizecqlbu ztdefx xvuprmhi
Sunday, July 22, 2007 11:39:26 PM (W. Europe Daylight Time, UTC+02:00)
I'm back in the U.S.S.R Pinar Vercingetorix.
Wednesday, September 19, 2007 7:55:13 PM (W. Europe Daylight Time, UTC+02:00)
when you say it's ove. Ulf Raharjo.
Monday, October 22, 2007 3:04:20 AM (W. Europe Daylight Time, UTC+02:00)
oh when i went away for doing my first chrim. Vaughan Domitilla.
Friday, July 30, 2010 12:14:02 PM (W. Europe Daylight Time, UTC+02:00)
I had a dream to make my own business, however I did not have got enough amount of money to do this. Thank God my colleague advised to utilize the home loans. Hence I used the small business loan and realized my desire.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview
<August 2010>
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
2930311234