playrisiko

1.0.2 • Public • Published

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 }
 

Readme

Keywords

Package Sidebar

Install

npm i playrisiko

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • carloleonardi