Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 835 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 835 Bytes

Raffle Program For JSConf China

Algorithm

Use a weight probability algorithm to calculate probability for each people. And it will follow the rule: image

UI

We use https://github.com/yaronn/blessed-contrib build a simple CLI UI application image

How to use

git clone [email protected]:jsconfcn/raffle.git

npm i

node raffle.js or node raffle.js 1000

default range from [0 ~ 800]

Requirements

  • A CLI program.
  • Writen in one of JavaScript/TypeScript/CoffeeScript/Elm/ClojureScript.
  • Grow the chance for ppl who didn't win anything.

License

MIT