Skip navigation

Game of life in javascript/jquery flavor.
Rules:
  • For a space that is ‘populated’:
    • Each cell with one or no neighbors dies, as if by loneliness.
    • Each cell with four or more neighbors dies, as if by overpopulation.
    • Each cell with two or three neighbors survives.
  • For a space that is ‘empty’ or ‘unpopulated’
    • Each cell with three neighbors becomes populated.

Notes:

  • runs much faster in Chrome.
  • broken and runs like crap in all versions of ie
place holder
Round:



3 Comments

  1. Hi,
    I have already seen it somethere…
    Have a nice day
    Eremeeff

  2. Yes. It’s been done before. And this is my take on it with javascript/jquery

  3. Interesting work.

    There is some buggy interaction between the start/stop buttons and the dropdown for selecting the framerate. Try setting the rate when it is stopped…


One Trackback/Pingback

  1. By 10 Cool jQuery Developed Games | Code to Preload on 10 Oct 2011 at 11:59 pm

    [...] This video tutorial takes you through the creation of the game of life game in jQuery. This tutorial aims to show how JQuery can help you modify the DOM on the fly and do some nifty manipulations. Source [...]

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>