This is a clone of "Conway's Game Of Life" which I made in Unity. It's a cellular automaton and arguably isn't really a game at all!


As per the original version, the rules are as follows:

  • Any live cell with 0 or 1 neighbours dies
  • Any live cell with 2 or 3 neighbours survives
  • Any live cell with 4 or more neighbours dies
  • Any dead cell with 3 neighbours comes alive

I made some small changes, such as adding adaptive music, making cells wrap around edges, and adding a small chance for any cell with no neighbours to become alive as a cluster of cells.


Controls

  • Left click - Add live cell
  • Right click - Remove live cell
  • Space - Toggle continuous generation
  • Enter - Step generation
  • R - Reset all cells
StatusReleased
PlatformsHTML5
Rating
Rated 3.5 out of 5 stars
(2 total ratings)
AuthorMatt J Hart
Tagscalm, Casual, cells, cellular-automata, Experimental, Idle, Music, Relaxing, Unity, zero-player

Comments

Log in with itch.io to leave a comment.

I belive there is a bug, example: when i make a 2x2 square and add a cell right next it will die a few generations after, but something else pops up somewhere else. Think it has smth to do with previous stuff. (I have a video but unsure how to post it)

Hey, this is actually intentional but thanks for letting me know anyway! I made it so there is a small chance for a cluster of "live" cells to appear in a random location every now and then, which I think is what's happening in your case. This definitely isn't the default behaviour for Game of Life, though I suppose I wanted to make it so that it wouldn't just end up in a state where the whole thing grinds to a halt and never does anything again!

Not sure if its intended, but you have interaction between the outer bounds of (what I'm guessing is your) array.

Reproducible but using a solid line across the top or bottom or a single side.  It will create another line (col or row) opposite and then begin interacting.  Not sure if its array behavior or if its something that exists from initialization.

This is intentional, but thanks for pointing it out nonetheless! I've updated the description to mention that

Whoa, I don't think I've ever seen adaptive music in a game on itch.io. How did you do it?

(+1)

It wasn't too complex!

Each row has a short unique sound associated with it (some have a percussive sound like a kick drum and some have a musical note or chord). Each time there is a new generation, the game scans a particular column and triggers one of the sounds for each row that has a live cell in it. Each generation, the column being scanned moves to the right.

That's difficult to explain in text! It might help to imagine a vertical line moving right that plays a note every time it hits a live cell.

It's a cool idea, Matt. I like it!

(+1)

Thanks! And nice job on your own game of life :)

(1 edit)

Ah yeah, I've seen something like that before in music production. I believe it's called a grid step sequencer. That's a pretty cool idea :)