This is a tool written for the .NET Oxford meetup for when we do price draws. Whilst primarily written for .NET Oxford, it can be used by any meetup.
Before first running the application, you'll have to point it at your event on Meetup.com. At the moment, this is just an app.config setting called MeetupDotComEventId
. Start by opening your event on Meetup.com, and copying the event id
from the URL. So for example, one of the .NET Oxford events was this one ...
https://www.meetup.com/dotnetoxford/events/235884873/
... so the event id for this event is 235884873
.
You can enter this into the app by editing the app.config
file (it's fairly obvious what to change when you view this file).
The first time you run the application, you'll see a blank screen. Press F5
, and a dialogbox will appear with a single button. Press it, and it'll retrieve all the attendees from your Meetup.com event. That is, guests who have RSVPd with 'yes'. This may take a minute, as it also downloads all their profile pictures.
At the time of writing, once this is complete, you'll need to restart the application.
After grabbing all the attendee data, and restarting, you should see a fullscreen window looking something like this ...
Press the space
key to start the draw. The selected tile (as shown below), will shuffle randomly where the selected tile will show the attendee's profile picture.
Pressing the space
key again will then slow down the shuffle, and after a few seconds, stop on the winning tile. The winning tile will then grow/animate to a much larger tile at the centre of the screen showing both the winner's name and profile picture ...
The winner details will be stored in a text file in the following folder:
"%appdata%\Roaming\PrizeDraw"
This folder is actually also where the list of attendees and their profile images are stored.
Note: There's currently a bug (see #12) where before you can retrieve the list of attendees from Meetup.com (see above), you'll have to delete the existing downloaded profile images.