This is a project based on Symfony 3. It is an App inspired by the Game of Life devised by the British mathematician John Horton Conway in 1970.
- Symfony 3.
- Vagrant Box that can be reused to setup the development environment.
- Ansible to provision the Vagrant Box. The roles used in this project are provided byGeerlingguy
- FOS Rest Bundle to add a Rest Api.
- PHPUnit to test each part of the application implementing TDD as much as possible, either Unit and Integration tests.
The code is separated in three bundles. GameBundle contains Unit and Integration tests. Test code coverage can be found at var/cache/coverage.
GameBundle This bundle contains all the logic business.
ApiBundle With three endpoints to interact with the GameBundle.
ClientBundle Containing the game UI.
-
Install dependencies VirtualBox Vagrant Ansible
-
Install Tic Tac Toe
- Copy "vagrant_inventory.example.yml" to "vagrant_inventory.yml" and replace what you need.
- Check "ansible/hosts" file to make sure that some parameters match with vagrant_inventory.yml.
- Run "vagrant up"
- Run "Vagrant ssh" to access to the development box.
- Run "composer install"
- Make sure to add a new host in you /etc/hosts (check the IP in your vagrant_inventory)