Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 989 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 989 Bytes

Battleship Game

Project for TheOdinProject JavaScript curriculum.

The user can play Battleship against the Computer. The user and the computer will have a set of ships distributed in a grid. The first player who sinks all the other player's ships wins.

Features

  • Button to randomize the ships in the player's grid.
  • Button to start the game and to play again once the game ends.
  • Display box to show what is happening in the game.

Resources

Demo

Live version here

How to use

To use the website, click here.

To use the code, download the files and, on the file's directory, type the following on the terminal:

npm install
npm run start