1.0.2 • Published 7 years ago
playrisiko v1.0.2
Installation
npm install playrisiko
Usage
var risiko = require('playrisiko');
console.log(risiko.play(3, 2));
// { attackDices: [ 6, 4, 1 ],
// defendDices: [ 2, 2 ],
// attackArmyLose: 0,
// defendArmyLose: 2 }