Skip to content

jklemon17/battleship

Repository files navigation

JavaScript Battleship game

Play in your browser here: http://jklemon17.github.io/battleship

To run the game locally:

Clone to your local machine.

  • cd into the folder
  • run npm install
  • run npm run build
  • open the index.html file in your browser of choice

To play:

  • Click a spot on the top board where you think the computer's ships might be.
  • The computer will immediately fire back, which will show on the bottom board.
  • Repeat until someone wins.

Authors