19

GitHub - fouber/lottery: 年会抽奖程序

 4 years ago
source link: https://github.com/fouber/lottery
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

N年前写的年会抽奖程序

demo

抽奖流程:

  1. 选择当次要抽奖的人数(30、10、5、2、1)
  2. 点击『开始』按钮,进入抽奖状态(这个过程仍可修改抽奖人数)
  3. 点击『停!』按钮,生成抽奖结果
  4. 点击任意人数按钮,可以回到闲置状态,已中奖的用户标记为黄色,不会二次命中

PS:滚动鼠标滚轮,可以放大或缩小球体


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK