1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

Game of life, jquery implementation

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:



Share:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • MySpace
  • Reddit
  • RSS
  • Slashdot
  • StumbleUpon
  • Twitter
  • Yahoo! Bookmarks
  • #1
    Posted by Eremeeff on August 2nd, 2009 at 2:13 PM

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

  • #2
    Posted by Funky Dude on August 4th, 2009 at 9:15 PM

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

Share your opinion! Post your thoughts.