Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/luisrovirosa/game-of-life-2020

Conway's Game of Life solution
https://github.com/luisrovirosa/game-of-life-2020

game-of-life kata php php74 phpunit symfony-console tdd

Last synced: 4 months ago
JSON representation

Conway's Game of Life solution

Awesome Lists containing this project

README

        

# Conway's Game of Life
Kata solution of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) in PHP done in strict TDD.

# How to run the kata
This repository can be used either having installed PHP 7.4 in your machine or docker.
## Install the dependencies
Using PHP 7.4 installed locally

make install

or using docker

make docker-build

## Run the simulations
If you are using docker before running any of the simulations please run

make docker-in

There are 3 simulations prepared

make blinker
make glider
make pulsar

## Play with arguments and options
./console gof:run --help

## Run the tests
make tests

## Code coverage
make coverage