Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.51 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.51 KB

kgol - Kane's Game Of Life

A colorful interactive twist on Conway's Game Of Life developed for Apple devices

Rules

Conway's Game Of Life is based on a couple simple rules:

  • If a cell is alive, and it has less than 2, or more than 3 living neighbors, it dies
  • If a cell is dead, and it has exactly 3 living neighbors, it comes to life

In Kane's game of life, we keep these rules, but we replace the numbers with variables

  • If a cell is alive, and it has less than alpha or more than beta living neighbors, it dies
  • If a cell is dead, and it has exactly chi living neighbors, it comes to life
  • The user can adjust alpha, beta, and chi in real time to generate cool emergent patterns!
  • A couple more tweaks:
    • If a cell is dead and has zero living neighbors, there's a small probability it comes to life
    • Every cell gets a semirandom color, partly determined by how many living neighbors it has

Gallery

ezgif-5-03c1abffae ezgif-5-8857c1f289 ezgif-5-d907c894af

License

This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.

License