Name: raffle
Owner: jsconfcn
Description: The raffle program for shenjs
Created: 2015-07-11 15:36:03.0
Updated: 2018-04-20 16:49:02.0
Pushed: 2016-08-30 08:28:46.0
Homepage: null
Size: 16
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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 git@github.com:jsconfcn/raffle.git
npm i
node raffle.js
or node raffle.js 1000
default range from [0 ~ 800]
MIT