Tic Tac Toe is a PHP 7.1 application written following Domain-Driven Design approach.
You can see output app with the follow command line:
php app/console t:g:s
Multiplayer: Player 1 Vs Machine or Player 1 Vs Player 2
Custom icon
Custom icon's color. Availabe colors: black, red, green, yellow, blue, magenta, cyan and white
User's Repository is implemented in memory. You have two users availables: pepe and juan
Create an user
Remove an user
- PHP 7.1
You can use Docker with the follow the command line:
(Mac users) docker-machine start default
docker-compose up
docker exec -it tictactoe_php_1 /bin/bash
composer install
You can execute the unit test with the follow command
php bin/phpunit
You can execute code coverage with the follow command
php bin/phpunit -c phpunit.xml.dist --coverage-html=metrics
You can execute the symfony commands with the follow command
php app/console