This project is a recreation of the game tic-tac-toe in PHP that can be run in the terminal.
This program uses Composer as a package manager. So, if you haven't already, install it via Homebrew by entering
brew install composer
into your terminal. This will also install PHP for you. Homebrew can be installed on MacOS using the instructions found here.
Simply run
composer play
while in the main directory.
Tests have been written using PHPUnit. If you want to run the tests, the dependencies in composer.json need to be installed first by entering
composer update
into your terminal. Then, run the tests by entering
composer test
while in the main directory.