/petwars

Competency test to show basic understanding of object orientated principles

Primary LanguagePHPMIT LicenseMIT

Pet Wars

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

Pet Wars is a competency test to show understanding of basic object orientated principles. This is my response to the test.

Install

Via Composer (if it was on packagist)

$ composer require divarsoy/petwars

Usage

$cat = new petwars\Cat();
$dog = new petwars\dog();
$cat->attack(dog);

Testing

$ phpunit

Credits

License

The MIT License (MIT). Please see License File for more information.