Game of Life in HTML 5

Joseph Mansfield created an HTML 5 implementation of John Conway's Game of Life, the classic cellular automaton first devised in 1970. Conway's Game of Life in HTML 5 (via Technoccult)



  1. This looks quite similar to the computer simulation that Wilford Brimley was looking at in John Carpenter’s The Thing. I wanna play that game!

  2. What took so long?

    I thought the game of life was one of those “Hello World!” programs, like the first thing you do just to prove you know how the language works…

    I seem to recall in the early days of CSS, someone did a DHTML / HTML4 / Javascript version using the

    tag… I can’t see an HTML5 version being harder to code than that.
    1. oh my… I got sanitized!

      “Javascript version using the tag…” was meant to say “using the <table> tag”

  3. doesn’t half hammer the processor though…

    anyway… who’s got a glider gun going?

  4. I’ve read it before but is seems very un-obvious to me that the game of life should be Turing-complete.

    1. It’s not obvious and took a while to prove. The key thing is that gliders (the little moving patterns) can interact with other structures in ways that act as AND, OR, and NOT gates. The life32 download page has links to some pattern collections that show this beautifully, including a complete prime number generator.

  5. This is interesting but the patterns in Wolfram’s “A New Kind of Science” are *really* interesting. Patterns that start out extremely simple and end up random, patterns that go from simple to random to periodic. Check it out. One-D automata are pretty happening.

  6. Site is not IE-friendly, but it does refer the user to Firefox or another browser and offers you a *hug*. That was thoughtful.


Comments are closed.