Hi i am the author SotoArmando if this project and this is my battleships approach over battleships from odin project https://www.theodinproject.com/courses/javascript/lessons/battleship.
Live version: https://sotoarmando.github.io/odin-battleships/dist/index.html
- git clone https://github.com/SotoArmando/odin-battleships
- Run these commands
npm install
open src/index.html
if you using windows then get inside src folder using the explorer and open it manually.
- Reset Game: Lets you start over again any time you like to.
- Play Game: Start the game.
- Winner Notify: Once you lost/striked 26 points you or the CPU will be a winner.
- Ship Down Log: Once you got done an enemy ship it will display up in the player board.
npm run test
This project features jest for all testing.