Skip to content

Conway's Game of Life implementation in Java

Notifications You must be signed in to change notification settings

jasonmw77/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

game-of-life

Console program that evolves generations through the "game of life".

Code creates new board for new generation based on the following rules

  1. Any live cell with fewer than two live neighbours dies (underpopulation)
  2. Any live cell with two or three live neighbours lives on to the next generation (survival)
  3. Any live cell with more than three live neighbours dies (overcrowding)
  4. Any dead cell with exactly three live neighbours becomes a live cell (reproduction)

To run:

To run with gradle wrapper type:

gradlew.bat run

or

gradlew run

About

Conway's Game of Life implementation in Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages