see-warcraft-2

0.0.2 • Public • Published

see-warcraft-2

npm package

Random Warcraft II stuff

Installation

npm i --save see-warcraft-2

Usage

Create instance of SeeWarcraft2

const SeeWarcraft2 = require('./node_modules/see-warcraft-2');
const swc = new SeeWarcraft2();

swc.getRandomFaction()

Horde

swc.getRandomUnit()

{
  name: 'Peasant',
  race: 'Human',
  faction: 'Alliance'
}

swc.getRandomBuilding()

{
  name: 'Great Hall',
  race: 'Orc',
  faction: 'Horde'
},

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i see-warcraft-2

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

11 kB

Total Files

8

Last publish

Collaborators

  • doobix