Code Monkey home page Code Monkey logo

simple-lottery's Introduction

简易抽奖程序

可控制中奖率的简易抽奖程序,手动启停,可更换背景,自定义标题等。

DEMO:https://lottery.110.sh

Screenshot

Screenshot

使用说明

部署

  1. 下载或克隆本项目
  2. 在源码根目录输入代码python3 -m http.server
  3. 访问 http://IP:8000

使用

根据提示使用即可。

您也可以填写下面的内容到奖池设置中:

铅笔 2
橡皮 1
笔记本 2
巧克力 2
免写一次作业 5
100元 0
QQ糖 1
才艺表演 3
叫别人回答问题 4

目录介绍

.             存放压缩过的代码
readme.md     本文件
-- background 存放背景图片
-- resource   存放 semantic-ui 代码,当无法访问外网或不喜欢CDN时可以使用
-- source     存放未经压缩过的代码

  1. 压缩工具 https://github.com/tdewolff/minify/tree/master/cmd/minify

    压缩指令 cd source && minify ./* -o ../ -v

    开发时 cd source && minify ./* -o ../ -v -w

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.