Game This is a simple single player battleship game. It is designed to be run as web and cli application through single access point: index.php. The purpose is to implement flexible enough app by abstracting the environment, user input, data persistence and data-presentation. In CLI run: $ php cli.php. In web just have DocumentRoot to the root dir of the app.