https://github.com/fiereeinar/battleship
https://github.com/fiereeinar/battleship
board-game css html javascript jest
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fiereeinar/battleship
- Owner: FiereEinar
- Created: 2024-02-03T10:45:44.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-16T08:44:11.000Z (about 1 year ago)
- Last Synced: 2025-01-26T12:24:09.086Z (3 months ago)
- Topics: board-game, css, html, javascript, jest
- Language: JavaScript
- Homepage: https://fiereeinar.github.io/Battleship/
- Size: 194 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```