LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Game of Life Simulator

Root / Submissions / [.]

12Me21Created:
Download:4224DE4E
Version:Size:1.38 KB
Simulate all variants of Conway's Game of Life.

Instructions:

Edit the code to change the rule. You can also change the size of the simulation area.

noice

If you plan to update this with a simple menu screen with the available options, that would be sweet. I have always had a soft spot for the Game of Life since the Windows 95 Entertainment Pack. Also very nice compact code!! Thank you for sharing!

Either this is a maze game, or I just really don't get it

from Wikipedia: "The universe of the Game of Life is an infinite two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, alive or dead, or "populated" or "unpopulated" (the difference may seem minor, except when viewing it as an early model of human/urban behavior simulation or how one views a blank space on a grid). Every cell interacts with its eight neighbours, which are the cells that are horizontally, vertically, or diagonally adjacent. At each step in time, the following transitions occur: Any live cell with fewer than two live neighbours dies, as if caused by under-population. Any live cell with two or three live neighbours lives on to the next generation. Any live cell with more than three live neighbours dies, as if by over-population. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction. The initial pattern constitutes the seed of the system. The first generation is created by applying the above rules simultaneously to every cell in the seed—births and deaths occur simultaneously, and the discrete moment at which this happens is sometimes called a tick (in other words, each generation is a pure function of the preceding one). The rules continue to be applied repeatedly to create further generations."

Wow nice GOL conversion Its really fun

Glider: ### # #

dude... AWESOME

best rule ever! (I call it NEGATIVES) B12345678/S023 makes imagination go crazy

Shouldn't this have the simulation category? Also, I read a description in the comments. ...Is that even a ... "game?"

Replying to:Mr_Mo
best rule ever! (I call it NEGATIVES) B12345678/S023 makes imagination go crazy
/seizure warning

Replying to:Midnight
Shouldn't this have the simulation category? Also, I read a description in the comments. ...Is that even a ... "game?"
The "Life Simulation" category is for programs that are simulations of aspects of human life.

Replying to:Midnight
Shouldn't this have the simulation category? Also, I read a description in the comments. ...Is that even a ... "game?"
I later noticed the category included the word life.

Wow cool, it runs really fast Next you should allow the player to interact with it

B123/S1234 -let this run for a while, It likes to make lines!