jsconfcn/raffle

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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 git@github.com:jsconfcn/raffle.git

npm i

node raffle.js or node raffle.js 1000

default range from [0 ~ 800]

Requirements
License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.