keokilee / makahiki

An open source framework for creating dorm energy competitions using Django and Pinax.
http://code.google.com/p/kukui-cup
12 stars 8 forks source link

Support raffle prizes with quantity > 1 #428

Closed rbrewer closed 12 years ago

rbrewer commented 13 years ago

Right now, each raffle prize is separate. We want to raffle off some items that we have in some quantity (like 48). In the current system, each one would have to be listed individually. This would clutter the raffle prize list, and users would be responsible for ensuring optimal ticket placement.

A solution to this would be to introduce a quantity value for each prize (defaulting to 1). If the number of tickets allocated is < the quantity of the prize, then everyone wins the prize. The odds of winning for the prize are therefore quantity/tickets-allocated. We would probably want to display the quantity value in the raffle prize table, and the drawing process & notifications would need to be adjusted to account for multiple quantities.

yongwen commented 12 years ago

it is hard. pass on this one.