@markhuang1212/poker-p

0.1.2 • Public • Published

poker-p

Usage

var mStg = new Game.Stage(new Game.Card(5, 2), new Game.Card(6, 2))
var exp_cal = new ExpectationCalculator(1000)
exp_cal.setCondition(5, [new Game.Card(8, 3), new Game.Card(7, 1)], mStg) // condition can be reset

var res = exp_cal.run() // returns an object

console.log(res.pOfWinning)
console.log(res.pOfTie)

Readme

Keywords

none

Package Sidebar

Install

npm i @markhuang1212/poker-p

Weekly Downloads

0

Version

0.1.2

License

ISC

Unpacked Size

17.1 kB

Total Files

9

Last publish

Collaborators

  • markhuang1212