December 23, 2024, 05:44:23 am

Author Topic: Fix the Lottery  (Read 12885 times)

0 Members and 3 Guests are viewing this topic.

KCB38

  • Jr. Member
  • *
  • Posts: 87
  • Grammar Nazi
    • View Profile
Fix the Lottery
« on: July 20, 2012, 12:01:12 am »
The lottery needs fixing. I and many other players feel like it is rigged, especailly when a player wins all 3 draws(Which happened today, 7/19) Stop with complicated formulas and just make it entirely random. And maybe make it so that the #1 winner cant win 2cnd or 3rd place.

ViperZeroOne

  • Champion Member
  • ***
  • Posts: 1087
    • View Profile
Re: Fix the Lottery
« Reply #1 on: July 20, 2012, 12:11:07 am »
Wait, wait, wait...  For the last time, there's NOTHING wrong with the lottery!

With a lottery every TICKET has a chance to win.  

Say you buy 100 tickets, that's 100 chances to win over the 3 draws.

You win first place, you still have 99 tickets in the draw for second and third.
You win second place, you still have 98 tickets in the draw for third.
You win third place, you have 97 tickets that didn't win.

How exactly is that unfair?  It's perfectly fair!

Come on people, that's how lotteries work.  Every ticket you buy has a chance to win.  Just because you purchased 1 ticket and someone else purchased 1000 of them doesn't mean the person who purchased 1000 should have all their tickets disqualified after they win one of the 3 draws.

I think it would be much more unfair to disqualify a player after they win a single draw.
Quote
"I griefed because my dog sat on my mouse and farted!"
- BAN APPEAL DENIED!!


Dark Knight eh?.... I'M BATMAN!!!  ;)

☣2crzy4uall☣

  • Professional Redstoner
  • Champion Member
  • ***
  • Posts: 1434
    • View Profile
Re: Fix the Lottery
« Reply #2 on: July 20, 2012, 12:12:20 am »
It's not rigged, the more tix you buy the higher chance of winning, that simple. so when someone wins all three keep in mind they most likely lost money buying into it


SalsaInABowl

  • AKA SalsaOnTheFloor
  • Champion Member
  • ***
  • Posts: 1539
  • Retired. Find me on Steam or IG.
    • View Profile
Re: Fix the Lottery
« Reply #3 on: July 20, 2012, 12:34:54 am »
Let's learn some math everybody. I know you hate school, I don't wanna have to teach in summer...but it's not rigged. Let's take this back to second grade, in probability.

There are 100 tickets in the lottery. Mr snapey bought 5. Mr Cazually bought 75. Mr Cazual won first and second, while I won third. Why did this happen? Well let's see. What percent of tickets were mine? 5%. What about Cazual? 75%. So Cazual would win 3/4 of the times, assuming theoretic probability. I would win one out of 20 times, again assuming theoretic probability. Rigged? You tell me.
I don't play Minecraft anymore and hardly come back to these forums. If you want to contact me, find me on Steam or Instagram. Username for everything is SalsaInABowl.

ViperZeroOne

  • Champion Member
  • ***
  • Posts: 1087
    • View Profile
Re: Fix the Lottery
« Reply #4 on: July 20, 2012, 03:02:37 am »
Let's learn some math everybody. I know you hate school, I don't wanna have to teach in summer...but it's not rigged. Let's take this back to second grade, in probability.

There are 100 tickets in the lottery. Mr snapey bought 5. Mr Cazually bought 75. Mr Cazual won first and second, while I won third. Why did this happen? Well let's see. What percent of tickets were mine? 5%. What about Cazual? 75%. So Cazual would win 3/4 of the times, assuming theoretic probability. I would win one out of 20 times, again assuming theoretic probability. Rigged? You tell me.

Haha, I actually have to adjust your mathematical equations cause the probability is PER DRAW.  I'm also going to assume that Snapey actually has 25 tickets to make the 100%.

First draw, Cazual has a 75% chance and you have a 25% chance.
(assume he wins)
Second draw, Cazual has a 74% chance and you have a 25% chance.
(assume he wins again)
Third draw, Cazual has a 73% chance and you STILL have only a 25-26% chance.

Odds are, he's gonna win the third one too.  The odds aren't that you will win 1 out of 4 times.  The odds are you only have a 1 in 4 chance PER DRAW.  That still means you can easily loose every draw.
« Last Edit: July 20, 2012, 03:06:34 am by ViperZeroOne »
Quote
"I griefed because my dog sat on my mouse and farted!"
- BAN APPEAL DENIED!!


Dark Knight eh?.... I'M BATMAN!!!  ;)

Matty585

  • Full Member
  • *
  • Posts: 128
  • Steampunk
    • View Profile
Re: Fix the Lottery
« Reply #5 on: July 21, 2012, 01:27:16 am »
I'm not an expert...but I think it would be very hard not to have complicated computer fomulas. The computer is not a human, it can not just say "Oo what's this? Oh may as well pick it...and Mr Matty won!"




iGenerator

  • Super Trusted
  • Champion Member
  • ***
  • Posts: 1230
  • Mayor of Rosenberg
    • View Profile
    • Steam
Re: Fix the Lottery
« Reply #6 on: July 21, 2012, 03:26:59 am »
Okay so the thing that makes the lottery so hard to win in real life, is the numbers and balls with that number there are 40 or so balls and like 6 normal ones and one colored ball. You must get every one correct to win all the money. In real life there are also millions of combinations of the numbers. Opticrafts version is much simpler, its just a random draw of peoples names out of a hat
Major Igenerator
City Planner for Stuttgart


DP

optical

  • Administrator
  • Champion Member
  • *****
  • Posts: 1844
    • View Profile
Re: Fix the Lottery
« Reply #7 on: July 21, 2012, 03:30:23 am »
VipzerZeroOne is completely correct.

The lottery is entirely random and fair. It is just random selection without replacement.

1000 tickets bought.
Chance of first prize = 1/1000 per ticket
Chance of second prize = 1/999 per ticket (1st place ticket removed)
Chance of third prize = 1/998 per ticket (1st & 2nd place ticket removed)

No complicated formula's, no rigging. It is more of a lucky dip or raffle then a lottery, technically.

« Last Edit: July 21, 2012, 08:45:34 am by raul7legend »

raul7legend

  • Israeli Operator
  • Champion Member
  • ***
  • Posts: 1977
    • View Profile
Re: Fix the Lottery
« Reply #8 on: July 21, 2012, 08:48:40 am »
1000 tickets bought.
Chance of first prize = 1/1000 per ticket
Chance of first prize = 1/999 per ticket (1st place ticket removed)
Chance of first prize = 1/998 per ticket (1st & 2nd place ticket removed)
FTFY

Also, your attitude in this topic is disrespectful, snape.
On a lottery earlier I held 90% of the tickets, and I did win all three of them.

ViperZeroOne

  • Champion Member
  • ***
  • Posts: 1087
    • View Profile
Re: Fix the Lottery
« Reply #9 on: July 21, 2012, 01:41:15 pm »
1000 tickets bought.
Chance of first prize = 1/1000 per ticket
Chance of first prize = 1/999 per ticket (1st place ticket removed)
Chance of first prize = 1/998 per ticket (1st & 2nd place ticket removed)
FTFY

Also, your attitude in this topic is disrespectful, snape.
On a lottery earlier I held 90% of the tickets, and I did win all three of them.

With 90% of the tickets you SHOULD win all 3 of them.  Although, there is still a 10% chance that someone is gonna get lucky.  *LOL*
Quote
"I griefed because my dog sat on my mouse and farted!"
- BAN APPEAL DENIED!!


Dark Knight eh?.... I'M BATMAN!!!  ;)

tiggy26668

  • Sr. Member
  • **
  • Posts: 464
    • View Profile
Re: Fix the Lottery
« Reply #10 on: July 21, 2012, 02:55:47 pm »
soooo, clearly if u have more tickets u have the higher chance of winning..... but out of curiosity how are the tickets stored? does it just use a random number generator and whoever has that number ticket lets say wins, or are the tickets stored in some sort of stack/list where the winner is the ticket at the index defined by the random number? more so, if they're stored in a list/stack is it being shuffled before all/each draw or at all? ya gotta keep in mind that random numbers in computers are "pseudo-random"  or "kinda random" and do have a tendency to fall in certain ranges given the algorithm used... point being if u have a giant chunk of 100 tickets in one section of this list/stack it can in fact give u an unfair advantage and increase your chance of winning.

of course this is all here say as i do not know the inner workings of the lottery, just some thoughts.

*edit* i hate criticizing without any contribution so a way to make it more random...

pseudo-code, would shuffle the tickets a random number of times....
(click to show/hide)
« Last Edit: July 21, 2012, 03:40:21 pm by tiggy26668 »
I'm Much more smarter admin than whoever banned me.

Chief149

  • Hero Member
  • **
  • Posts: 646
  • Oppan Gangnam Style
    • View Profile
Re: Fix the Lottery
« Reply #11 on: July 21, 2012, 05:57:05 pm »
public class Lottery
{
    private ArrayList<String> tickets; //the list that holds all the tickets purchased by the player

    public Lottery()
    {
        tickets = new ArrayList<String>(); //don't worry about this part of the code if you don't understand it
    }

    public void ticketsBought(String playerName, int numTickets) //when a player does /lottery buy numTickets command
    {
        //add the player name to the ticket list for each ticket they bought
        //if a player did /lottery buy 10 to buy 10 tickets, then their name is added to the ticket list 10 times
        for(int a = 1, a <= numTickets, a++)
        {
            tickets.Add(playerName);
        }
    }

    public void drawWinners()
    {
        //create a completely random number
        int randomNumber = (int)(Math.random()*(tickets.count()-1));
        //That random number will be the number on the list that is chosen starting with 0. So if the number 2 is
        //randomly generated, then the system goes to item number 2 on the list.
        String winner1 = tickets.get(randomNumber); //this is winner 1 randomly selected
        tickets.remove(randomNumber); //remove the individual drawn ticket from the list
       
        //repeat the above code to get winner2 and winner3

        //print winners and other crap to the chat
        //award players with their money
    }
}

That's how it works.



Best griefer name ^



ViperZeroOne

  • Champion Member
  • ***
  • Posts: 1087
    • View Profile
Re: Fix the Lottery
« Reply #12 on: July 21, 2012, 06:26:38 pm »
That looks completely random to me...  I don't see how you could push the randomizer to be even more random than that.
Quote
"I griefed because my dog sat on my mouse and farted!"
- BAN APPEAL DENIED!!


Dark Knight eh?.... I'M BATMAN!!!  ;)

ivy2112

  • Sr. Member
  • **
  • Posts: 431
  • SMP Trusted
    • View Profile
Re: Fix the Lottery
« Reply #13 on: July 21, 2012, 06:30:53 pm »
I won the lottery like cazual
if u look my signature
The prize pool was 5450$
i bhought ( by accididnt ) 645 tickets ( i wanted to buy 64 tickets )
I had ~ 93% of the prize pool tickets
i had a big chance to win as viper already said

ViperZeroOne

  • Champion Member
  • ***
  • Posts: 1087
    • View Profile
Re: Fix the Lottery
« Reply #14 on: July 21, 2012, 09:14:51 pm »
I won the lottery like cazual
if u look my signature
The prize pool was 5450$
i bhought ( by accididnt ) 645 tickets ( i wanted to buy 64 tickets )
I had ~ 93% of the prize pool tickets
i had a big chance to win as viper already said

Exactly, with a 93% chance on ALL 3 DRAWS you're pretty much guaranteed to win them all.  Unless one of the other players has a horseshoe up their *cough*....
Quote
"I griefed because my dog sat on my mouse and farted!"
- BAN APPEAL DENIED!!


Dark Knight eh?.... I'M BATMAN!!!  ;)