A simple game of Battleship, written in PHP. The purpose of this repository is to serve as an entry point into coding exercises and it was especially created for scrum.orgs Applying Professional Scrum for Software Development course (www.scrum.org/apssd). The code in this repository is unfinished by design. Created by Sergey https://github.com/2heoh
This project requires a php7 or higher. To prepare to work with it, pick one of these options:
Run battleship with composer
composer run gameInstall dependencies
composer updateRun tests
composer run testIf you don't want to install anything php-related on your system, you can run the game inside Docker instead.
docker run -it -v ${PWD}:/battleship -w /battleship composer bashcomposer run gameDon't forget to install dependencies ;)
composer updateRun tests:
composer run test
- On my ubuntu virtual server on DO I needed to install:
apt-get install composer php7.2-mbstring php7.2-dom