Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 520 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 520 Bytes

ship-spacing-generator

This library is a for generate matrix ship placement. For a sea battle game.

Install on yarn

yarn add ship-spacing-generator

Run tests

yarn tests

Show demo

yarn start

demo

Usage

const generate = require('ship-spacing-generator');
const matrix = generate();

Licence

MIT