Skip to content

xsky-fe/raffle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The raffle program for shenjs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%