1.0.0 • Published 6 years ago

risikoits v1.0.0

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 risiko

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