amolgupta / GameOfLife

This is a simple simulation for the Game of life by John Conway written in JetPack Compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game of life

This is a simple simulation for the Game of life by John Conway written in JetPack Compose

Try on your android device by downloading this file

The Rules

  • For a space that is 'populated':
    • Each cell with one or no neighbors dies, as if by solitude.
    • 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.

Interesting simulations:

Repeating patterns

Stable states

John Conway xkcd

About

This is a simple simulation for the Game of life by John Conway written in JetPack Compose


Languages

Language:Kotlin 100.0%