-
Clone this repository to your local machine
-
Navigate inside the repository directory
-
Install the required dependencies
composer install
-
Install assets
bin/console assets:install --symlink
(Optional) Setup board width and height and adjust starting battleships
Default Settings:
- 10x10 board size
- 1 x Carrier (5 squares length)
- 2 x Submarines (4 squares length)
- 2 x Battleships (3 squares length)
-
Run the built-in php server
bin/console server:run
-
Copy paste the server's url to your browser.
-
Enjoy the game