jklemon17 / battleship

JavaScript Battleship game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

JavaScript Battleship game


Languages

Language:JavaScript 78.0%Language:CSS 20.2%Language:HTML 1.8%