GithubHelp home page GithubHelp logo

3dlotterybb's Introduction

forked from onthedesk/3DLottery

3DLotteryBB

简易的年会抽奖程序
开发了必中模式来方便调试

必中模式
用法: 维护 js/config.js 中 staff_abslute 数组,填入你希望中奖的员工或员工们,然后将 abslute 变量值改为1。 从第一次抽奖开始,数组中的员工都会先于其他人先后中奖,直到他们都中完奖后才会继续抽取普通员工。
注:开启必中模式后会在Conf.title变量后添加字符串“调试模式“来提醒开发者现在处于调试模式下
debugmode

如何使用:

  1. 打包下载
  2. 设置图片,并配置js/config.js
  3. 在浏览器中打开index.html,进入演示模式即可

功能说明:

  1. 空格和回车键均可以开始或暂停抽奖
  2. 一次抽出一个人,直至全部抽中
  3. 没有实现伪随机,采用的"击鼓传花"的原理

致谢

  1. 使用了混淆后的DB_rotateRollingBanner,作者不详,向作者致谢

3dlotterybb's People

Contributors

onthedesk avatar yukikawas avatar

3dlotterybb's Issues

天选之子模式开发

天选之子模式
描述:一定会拿奖的天选之子,其他凡人拿不拿奖全部看脸。
用法:维护 js/config.js 中 staff_abslute 列表,填入真正期望抽奖的员工,然后将 abslute 变量值改为1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.