diceattack
v1.0.3
Published
"secondo modulo"
Downloads
5
Readme
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