Battleship

Demo

About

Battleship is a strategy type guessing game for two players. It is played on ruled grids (paper or board) on which each player's fleet of warships are marked. The locations of the fleets are concealed from the other player. Players alternate turns calling "shots" at the other player's ships, and the objective of the game is to destroy the opposing player's fleet.

Purpose

This project was made to practice TDD (Test Driven Development) with jest.

Getting started

git clone https://github.com/FiereEinar/Battleship.git
cd battleship
npm install
npm start

Commands

  • To build production files
npm run build
  • Live server for development
npm run live
  • To run tests
npm test