Skip to content

Instantly share code, notes, and snippets.

@belovachap
Created March 14, 2024 01:07
Show Gist options
  • Save belovachap/5b87bfa9bfe381bd70793e1b80795f68 to your computer and use it in GitHub Desktop.
Save belovachap/5b87bfa9bfe381bd70793e1b80795f68 to your computer and use it in GitHub Desktop.
Disc Raffle March 13, 2024 Final!
import datetime
import pytz
import random
central_tz = pytz.timezone('America/Chicago')
raffle_datetime = datetime.datetime(2024, 3, 13, 18, 0, 0, 0, central_tz)
timestamp = int(raffle_datetime.timestamp())
print("Random seed: {}".format(timestamp))
print("")
random.seed(timestamp)
marble_blue_prodigy = [
"Jeremiah James",
"Ross Kemper",
"Shawn Batey",
"Patrick Stewart",
"Keith Guest",
"Michael Moeller",
"Timmy Ewing",
"Chase Sullivan",
"Jakob Brown",
"Ricky Wilson",
"Joseph Gonyer",
"Travis Reaves",
]
waco_bull_prodigy = [
"Patrick Stewart",
"Keith Guest",
"Todd Robledo",
"Ashlee Bollier",
"Michael Moeller",
"Timmy Ewing",
"Lori Sosa",
"Chase Sullivan",
"Jakob Brown",
"Joseph Gonyer",
"Troy Wright",
"Randall Weidner",
"Joshua Boersma",
"Christian Espina",
]
st_patricks_penny_putter = [
"Randy Dixon",
"Jeremiah James",
"Jennifer Watson",
"Timmy Ewing",
"Lori Sosa",
"Chase Sullivan",
"Nick Montijo",
"Jakob Brown",
]
def pick_and_print_winners(entrants):
random.shuffle(entrants)
for i, person in enumerate(entrants):
print("{}: {}".format(i+1, person))
print("Ordered list of winners for the Marbled Blue Prodigy Disc:")
pick_and_print_winners(marble_blue_prodigy)
print("")
print("Ordered list of winners for the Waco Bull Prodigy Disc:")
pick_and_print_winners(waco_bull_prodigy)
print("")
print("Ordered list of winners for the Saint Patrick's Penny Putter:")
pick_and_print_winners(st_patricks_penny_putter)
@belovachap
Copy link
Author

Random seed: 1710373860

Ordered list of winners for the Marbled Blue Prodigy Disc:
1: Keith Guest
2: Michael Moeller
3: Chase Sullivan
4: Joseph Gonyer
5: Jakob Brown
6: Travis Reaves
7: Timmy Ewing
8: Jeremiah James
9: Ross Kemper
10: Ricky Wilson
11: Patrick Stewart
12: Shawn Batey

Ordered list of winners for the Waco Bull Prodigy Disc:
1: Christian Espina
2: Chase Sullivan
3: Joshua Boersma
4: Randall Weidner
5: Joseph Gonyer
6: Troy Wright
7: Ashlee Bollier
8: Keith Guest
9: Jakob Brown
10: Timmy Ewing
11: Todd Robledo
12: Lori Sosa
13: Patrick Stewart
14: Michael Moeller

Ordered list of winners for the Saint Patrick's Penny Putter:
1: Randy Dixon
2: Jakob Brown
3: Timmy Ewing
4: Chase Sullivan
5: Lori Sosa
6: Jeremiah James
7: Nick Montijo
8: Jennifer Watson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment