/battleship

Game "Batteship" in browser.

Primary LanguageJavaScript

Battleship

This project is part of The Odin Project's curriculum. View it live at here.

Getting started

To run the app locally, first clone the repo, then:

npm run install
npm run start

Now the app should be visible at localhost:8080

Run the test

npm run test

Further improvement?

  • Make the computer player smarter
  • Allow computer player to keep on attacking after it hits the ship
  • Prevent ships from being placed adjacent to each other