Tricky Tray - Rules
4 posters
Page 1 of 1
Tricky Tray - Rules
Tricky Tray is a competition.
Heres how it works.
There are 10-14 set prizes and 1 "special prize" (which is worth the most and will be specified). Players buy 'tickets' at 200g each. For every 100 tickets they buy, they recieve 1 "special ticket". Players put their 'tickets' on SPECIFIC prizes (you just post 35 on XX, 26 on YY, 41 on ZZ, etc.). All "special tickets" automatically go into the "special prize", only "special tickets" can be used for the "special prize". After the ticket are sold, an excel spreadsheat with the players username and how many tickets they have on each prize will be posted as well as the code with this same information in it. Players have 24 hours to double check that this information is correct. After this 24 hour period, the program will be run. A screen shot of the results will be posted to ensure transparency.
The total value of the tickets sold may excede the total value of the prizes. Any extra amount will be left inn R O J Storage (guild storage account).
Heres how the winner is chosen (a java code)
The first 800 lines of code makes lists (ArrayLists), one for each prize. When player x buys y number of tickets on prize z, a line is added to the list for prize z saying x (as an integer, i.e. 050, 100, 999, etc), a space, an then their username. After the lists are formed, a method is called and the ArrayList, the total number of tickets in the list, and the name of the prize (armbrace, etc) are sent as parameters. An array (like a list with a certian number of spaces) is then made with the number of spots equal to the number of tickets in that prize. The program then goes through each line of that list, determines the number of tickets that person bought (the first 3 digits (the 050, 100, 999)), and picks that many RANDOM empty spaces in the Array that it inserts the username of the person who bought those tickets). Then, a random number is picked (using Java's math.random() class), multiplied by the total number of tickets (as the program picks a number between 0 and 1). The username in that index (spot number) of the array is the winner of that prize. The program outputs the name of the prize and the winner. This is repeated for all of the prizes.
Lets try an analogy to see if this clarifies this whole thing:
THe way this works is essencially like if there was a hat with a lot of slips of paper in the hat. Each slip of paper has the uername of the person who bought it on it. Each hat is a different prize and each slip of paper is 1 ticket. When you buy tickets, your putting your names on slips of paper. When you chose which SPECIFIC prizes to put your tickets on, then your dividing your slips of paper into those hats. (you can split up how you devide your tickets into prizes , how many slips of paper you put in which hats). The program shakes the hat and pulls out one slip of paper (ticket) per hat.
Heres how it works.
There are 10-14 set prizes and 1 "special prize" (which is worth the most and will be specified). Players buy 'tickets' at 200g each. For every 100 tickets they buy, they recieve 1 "special ticket". Players put their 'tickets' on SPECIFIC prizes (you just post 35 on XX, 26 on YY, 41 on ZZ, etc.). All "special tickets" automatically go into the "special prize", only "special tickets" can be used for the "special prize". After the ticket are sold, an excel spreadsheat with the players username and how many tickets they have on each prize will be posted as well as the code with this same information in it. Players have 24 hours to double check that this information is correct. After this 24 hour period, the program will be run. A screen shot of the results will be posted to ensure transparency.
The total value of the tickets sold may excede the total value of the prizes. Any extra amount will be left inn R O J Storage (guild storage account).
Heres how the winner is chosen (a java code)
The first 800 lines of code makes lists (ArrayLists), one for each prize. When player x buys y number of tickets on prize z, a line is added to the list for prize z saying x (as an integer, i.e. 050, 100, 999, etc), a space, an then their username. After the lists are formed, a method is called and the ArrayList, the total number of tickets in the list, and the name of the prize (armbrace, etc) are sent as parameters. An array (like a list with a certian number of spaces) is then made with the number of spots equal to the number of tickets in that prize. The program then goes through each line of that list, determines the number of tickets that person bought (the first 3 digits (the 050, 100, 999)), and picks that many RANDOM empty spaces in the Array that it inserts the username of the person who bought those tickets). Then, a random number is picked (using Java's math.random() class), multiplied by the total number of tickets (as the program picks a number between 0 and 1). The username in that index (spot number) of the array is the winner of that prize. The program outputs the name of the prize and the winner. This is repeated for all of the prizes.
Lets try an analogy to see if this clarifies this whole thing:
THe way this works is essencially like if there was a hat with a lot of slips of paper in the hat. Each slip of paper has the uername of the person who bought it on it. Each hat is a different prize and each slip of paper is 1 ticket. When you buy tickets, your putting your names on slips of paper. When you chose which SPECIFIC prizes to put your tickets on, then your dividing your slips of paper into those hats. (you can split up how you devide your tickets into prizes , how many slips of paper you put in which hats). The program shakes the hat and pulls out one slip of paper (ticket) per hat.
Last edited by darknesses-daughter on Sun Aug 15, 2010 1:41 pm; edited 1 time in total
darknesses-daughter- Level 2
- Posts : 5
Points : 29
Join date : 2010-07-30
Re: Tricky Tray - Rules
i dont get it:
Does the player with the highest amount of tickets on a prize wins it??
When is the programm run? after 24 hrs it says even if only 1 participates - so he gets brace and all others by spending some tickets there??
Who checks the programm? How can a player check if you dont run it several times?
What happens with the gold thats put in Roj storage? is that your profit?
Does the player with the highest amount of tickets on a prize wins it??
When is the programm run? after 24 hrs it says even if only 1 participates - so he gets brace and all others by spending some tickets there??
Who checks the programm? How can a player check if you dont run it several times?
What happens with the gold thats put in Roj storage? is that your profit?
Brighid The Vulcan- Level 13
- Posts : 58
Points : 117
Join date : 2010-06-22
Re: Tricky Tray - Rules
It seems they run it through their C++/Java (?) program which picks the name, the ticket and the prize.Brighid The Vulcan wrote:i dont get it:
Does the player with the highest amount of tickets on a prize wins it??
Good question.Brighid The Vulcan wrote:Who checks the programm? How can a player check if you dont run it several times?
Sadly yes.Brighid The Vulcan wrote:What happens with the gold thats put in Roj storage? is that your profit?
Re: Tricky Tray - Rules
The program can only be run once per tricky tray or else to ensure that it isnt being run to make one person win eveything.
I can attach the full program if you would like (its 1000 lines), but i added how it works to the first post
I can attach the full program if you would like (its 1000 lines), but i added how it works to the first post
darknesses-daughter- Level 2
- Posts : 5
Points : 29
Join date : 2010-07-30
suggestion
I would suggest that the monies over and beyond ie profit be added to the next contest for larger prizes ect. as
the lottery has done
the lottery has done
Lucky- Level 1
- Posts : 1
Points : 3
Join date : 2010-08-15
Re: Tricky Tray - Rules
that suggestion will be taken into consideration should there be future tricky trays
darknesses-daughter- Level 2
- Posts : 5
Points : 29
Join date : 2010-07-30
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum