Skip to content
Snippets Groups Projects
Select Git revision
  • 906a5c235302a5bce7f313a1551cd0c755ad8d71
  • main default protected
2 results

kotlin_gol

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    EckBalu authored
    906a5c23
    History

    Game Of Life

    Basic implementation of the Game Of Life that can start, pause or resume an active simulation. Born and survive parameters can be edited also.

    Born: 3 Survive: 23 means, that a dead cell will be born if exactly 3 of the neighbouring cells are alive, and an alive cell survives if exactly 2 or 3 neighbouring cells are alive. Empty input means, it will not check for any alive cell, so it will die or won't be born. It's not the same if the input is 0.

    You can draw in the simulation with your mouse. This way it's possible to make cells alive.

    Run the application with ./gradlew run.