1.0.3 • Published 6 years ago

diceattack v1.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Risiko

Getting Started

Install Risiko as an npm module and save it to your package.json file as a development dependency:

npm install diceattack

Once installed it can now be referenced by simply calling require('diceattack');

Example

var play = require ('diceattack');

console.log(play.attack(3,2));

\\ [ 6, 5, 3 ]
\\ [ 3, 1 ]
\\ Defense loses:  2
\\ Forward Loses:  0

License

MIT

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago