Skip to content

mikemix/game-of-life

Repository files navigation

Conway's Game of Life

Build Code Quality Coverage

Simple PHP implementation with CLI visualization.

Run

  • Random matrix docker run --rm -v $PWD:/app -e MATRIX=random composer/composer start
  • Glider gun docker run --rm -v $PWD:/app -e MATRIX=glider_gun composer/composer start

Running test suite

docker run --rm -v $PWD:/app composer/composer tests

TODO

  • Tests
  • Increase cell lifetime to survive more than one generation instead of killing instantly
  • Predefined seeds like Gosper's glider gun!
  • Cell colors!
  • More matrices
  • Strategy support for cell interaction

Resources

About

Conway's Game of Life PHP implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages