Skip to content

boyaca-dev/raffle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raffle

Thanks to our community sponsors we have some prizes to raffle, so we have created a script that will pick random people as winners.

How does it work?

The selection process is as follows:

  1. Read the whole list of attendees (we don't include organizers, staff, speakers or sponsors) and pick only those that were registered at event's opening. This list is not available in this repo for privacy reasons.
  2. Shuffle that list.
  3. Pick p random numbers from 0 to n, where p is the number of prizes and n is the number of attendees picked in step 1.
  4. Create a list by picking attendees at index w where w is each one of the numbers picked in step 3.
  5. Shuffle the "pre-winners" list.
  6. Assign each prize a winner from the result list in step 5.

About

The script that will pick random winners for all our prizes

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages