Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 923 Bytes

README.md

File metadata and controls

46 lines (33 loc) · 923 Bytes

Conway's Game of Life

An implementation of Conway's Game of Life in PHP.

Requires PHP 7.1+.


Running the game

  1. Clone this repository
git clone git@github.com:timrourke/conway.git
  1. Install the composer dependencies
composer install
  1. Execute the run command
bin/conway run

Running the game with docker-compose

  1. Build the image
docker-compose build
  1. Execute the run command
docker-compose run -T conway bin/conway run

# It is also possible to specify command line arguments:
docker-compose run -T conway bin/conway run --help

# Press ctrl-c to exit.

For more info

See the main application menu by running the command bin/conway.

See the application's documentation by running the command bin/conway --help.

See the run command's documentation by running the command bin/conway run --help.