Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 923 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 923 Bytes

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