module JustForFun ITEMS_LEFT = (21..50).to_a # 还有奖时返回数字,没有时返回 nil def self.draw ITEMS_LEFT.slice!(rand ITEMS_LEFT.size) end end