Skip to content

fsn-dev/FSN-hongbao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

FSN-hongbao

FSN 抢红包小程序

抢红包算法

以红包数量10个,总共100个FSN举例,取FSN最新区块HASH作为随机数种子,生成10个随机数,按用户抢红包点击顺序生成1~10的排序,根据每个随机数占10个随机数之和的比例乘以总奖励生成抢到的金额。

Releases

No releases published

Packages

No packages published