An implementation of Conway's Game of Life in OOP PHP
PHP JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
spec/Podo/GameOfLife
src/Podo/GameOfLife
.gitignore
Gulpfile.js
LICENSE
README.md
composer.json
composer.lock
fail.png
package.json
phpspec.yml
success.png

README.md

Game of Life OOP PHP

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

With help from Laracast's Code Katas and Gulp File.

Requirements

  1. PHP 5.4+
  2. Node & NPM
  3. Composer

Installation

$ git clone https://github.com/philsown/gameoflife.git
$ cd GameOfLife
$ npm install
$ composer install

Tests

$ vendor/bin/phpspec run

Automating Tests

$ gulp

I like to run it silently so I only see the test output.

$ gulp --silent

Feedback

I did this as an exercise in OOP, phpspec, and programming in general. Feedback is invited. Send any to philsown at gmail or create an issue. Feel free to fork. Thanks.