Use a weight probability algorithm to calculate probability for each people. And it will follow the rule:
We use https://github.com/yaronn/blessed-contrib build a simple CLI UI application
git clone [email protected]:jsconfcn/raffle.git
npm i
node raffle.js
or node raffle.js 1000
default range from [0 ~ 800]
- A CLI program.
- Writen in one of JavaScript/TypeScript/CoffeeScript/Elm/ClojureScript.
- Grow the chance for ppl who didn't win anything.
MIT