Clone this repo and run yarn inside the project folder to install the dependencies.
- Run
yarn cypress-battleshipto launch the project. - Then select the difficulty level on the Cypress interface.
- The Cypress script will create a game and it will wait you to be ready.
- Go to the game link displayed on the Cypress interface.
- Choose your boats position and click on the "Play" button.
- Enjoy your game :)
- Go to http://es.battleship-game.org.
- Set the game settings as you prefer.
- Choose your boats position and click on the "Play" button.
- Run
yarn cypress-battleship --env gameUrl=<YOUR_GAME_URL>replacing<YOUR_GAME_URL>by your game URL. - Enjoy your game :)
All dependencies are installed locally. So, in order to uninstall the project just delete the folder.