An open API service indexing awesome lists of open source software.

https://github.com/fiereeinar/battleship


https://github.com/fiereeinar/battleship

board-game css html javascript jest

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Battleship

[Demo](https://fiereeinar.github.io/Battleship/)

## 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

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

## Commands

- To build production files

```bash
npm run build
```

- Live server for development

```bash
npm run live
```

- To run tests

```bash
npm test
```