Tagged articles
22 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 3, 2024 · Frontend Development

Implementing an H5 Lottery Turntable with CSS and JavaScript

This tutorial explains how to create a lottery wheel in HTML5 by designing the turntable layout using CSS transforms, controlling rotation with JavaScript, managing click locks, applying easing for a smooth slowdown, and adjusting prize probabilities through weighted random selection, complete with full source code examples.

CSSHTML5Lottery
0 likes · 11 min read
Implementing an H5 Lottery Turntable with CSS and JavaScript
Laravel Tech Community
Laravel Tech Community
Jul 10, 2023 · Backend Development

Implementing Random Double Color Ball Selection in PHP Using Arrays

This article explains how to implement a random Double Color Ball (Shuangseqiu) lottery number generator using PHP arrays, detailing the definition of red and blue ball arrays, random selection with array_rand(), and outputting the results via foreach loops, along with the complete source code.

ArrayBackendLottery
0 likes · 6 min read
Implementing Random Double Color Ball Selection in PHP Using Arrays
Xianyu Technology
Xianyu Technology
Dec 15, 2022 · Fundamentals

How to Build Fair Lottery Systems Using Linear Congruential Generators

This article examines the technical foundations of lottery randomness, explains linear congruential generators and their parameter constraints, discusses implementation pitfalls such as low‑bit bias, and reviews several practical lottery algorithms—including selection, shuffle, reservoir sampling, red‑packet splitting, and probability methods—to achieve fair and scalable interactive draws.

FairnessJavaLottery
0 likes · 19 min read
How to Build Fair Lottery Systems Using Linear Congruential Generators
Top Architect
Top Architect
Aug 9, 2022 · Backend Development

Building a Spring Boot Lottery System with Redis and MyBatis‑Plus

This article demonstrates how to create a simple lottery application using Spring Boot, MyBatis‑Plus, and Redis, covering project setup, database schema, dependency configuration, Redis integration, event‑driven data initialization, lottery draw logic, stock management, and asynchronous record handling.

JavaLotterySpring Boot
0 likes · 23 min read
Building a Spring Boot Lottery System with Redis and MyBatis‑Plus
Aotu Lab
Aotu Lab
Mar 10, 2022 · Frontend Development

Build Engaging Mobile Lottery Games with NutUI‑Bingo Vue Component Library

This guide introduces NutUI‑Bingo, a Vue 3‑based mobile component library for lottery and mini‑game scenarios, covering its background, design, installation, core components, usage examples, and future roadmap with technical details and code snippets.

Component LibraryLotteryMobile UI
0 likes · 7 min read
Build Engaging Mobile Lottery Games with NutUI‑Bingo Vue Component Library
Xianyu Technology
Xianyu Technology
Mar 9, 2022 · Frontend Development

Standardizing Interactive Tasks and Lottery Features on the Xianyu Platform

Xianyu standardized its interactive tasks and lottery features by abstracting capabilities into a reusable SDK, providing self‑diagnosis tools, and unifying configuration workflows, which cut front‑end development time by about half, enable operators to troubleshoot without developers, and lower launch and testing costs across large‑scale marketing events.

LotterySDKfrontend
0 likes · 10 min read
Standardizing Interactive Tasks and Lottery Features on the Xianyu Platform
Top Architect
Top Architect
Nov 1, 2021 · Backend Development

Design and Implementation of a Points-Based Lottery System Using Spring Boot

This article explains how to design and implement a points‑based lottery (luck draw) system in Java with Spring Boot, covering database schema for prizes, probability limits, prize pools, the random draw algorithm, prize restrictions, and asynchronous prize distribution using a factory pattern.

AsyncJavaLottery
0 likes · 10 min read
Design and Implementation of a Points-Based Lottery System Using Spring Boot
Java Captain
Java Captain
Nov 26, 2020 · Backend Development

Java Console Application for User Login, Registration, and Lottery System

This article presents a Java console program that implements user login, registration, and a lottery feature, detailing the functional requirements, data storage using files, key data structures like ArrayList and HashMap, and provides the complete source code with usage notes.

FileIOJavaLottery
0 likes · 12 min read
Java Console Application for User Login, Registration, and Lottery System
HomeTech
HomeTech
Oct 28, 2020 · Backend Development

Design and Implementation of a Scalable Generic Lottery System

This article describes the design, domain‑driven architecture, probability algorithms, extensibility mechanisms, concurrency controls, and management UI of a reusable lottery platform that supports high‑traffic promotional activities while ensuring configurability, anti‑cheat measures, and reliable data consistency.

DDDLottery
0 likes · 12 min read
Design and Implementation of a Scalable Generic Lottery System
Programmer DD
Programmer DD
Sep 24, 2020 · Databases

Build a One-Day Survey & Lottery System with SeaTable Scripts

Learn how to quickly create a questionnaire using SeaTable, automatically collect responses, and run a custom script to randomly select winners, providing a fast, low‑code solution for urgent business needs without a full development cycle.

AutomationLotterySeaTable
0 likes · 7 min read
Build a One-Day Survey & Lottery System with SeaTable Scripts
360 Tech Engineering
360 Tech Engineering
Jan 29, 2019 · Frontend Development

Building a Fun Lottery Program with HTML, CSS, and JavaScript

This article walks through creating an engaging, fair lottery program for an annual event using plain JavaScript, including random shuffling, localStorage persistence, and a horse‑race animation built with HTML and CSS, complete with reusable functions and step‑by‑step code explanations.

Lotteryanimation
0 likes · 14 min read
Building a Fun Lottery Program with HTML, CSS, and JavaScript