1.0.0 • Published 5 years ago
@gongfuio/hexgrid v1.0.0
@gongfuio/hexgrid package
‹Hexgrid› implementation from Red Blob Games, packaged as an ES module.
Build
$ cd packages/hexgrid
$ npm install
$ npm run buildUsage
Install in your project:
$ cd webapp
$ npm install --save @gongfuio/hexgridUse from a module:
import { Layout } from '@gongfuio/hexgrid';
const layout = Layout.pointy;