[Suggestion Another lotto?]

Discussion in 'Suggestions' started by Thecreator767, Aug 7, 2012.

  1. Thecreator767

    Thecreator767 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Apr 22, 2012
    Messages:
    3,172
    Trophy Points:
    36,440
    Gender:
    Male
    Ratings:
    +248
    Minecraft Name:Thecreator767

    Suggestion:make a lottery more like the real world and make tickets cost 100 and 50 goes into the jackpot. I would like to see this because it adds more epicness to our already epic economy

    Reason:It would be nice to have a more realistic lotto that draws every day, 3 days, week, month, etc...

    Any Other Information:nope and my Javascript isnt that strong so I couldn`t make it so that the numbers don`t duplicate :p if the numbers duplicate then just press Pick Numbers again

    Link To This Plugin:
    Code:
    <html>
    <Head>
    <Title>Lottery</Title>
    <Font Color="#181818"/> 
    
    
    <script type="text/javascript">
         function lotto(){
            
            var randomNumber=Math.floor(Math.random()*59);
            randomNumber=randomNumber+1;       
            document.getElementById("lot1").innerHTML=randomNumber;
    
            
            var randomNumber=Math.floor(Math.random()*59);
            randomNumber=randomNumber+1;
            document.getElementById("lot2").innerHTML=randomNumber;
    
            
            var randomNumber=Math.floor(Math.random()*59);
            randomNumber=randomNumber+1;
            document.getElementById("lot3").innerHTML=randomNumber;
    
            
            var randomNumber=Math.floor(Math.random()*59);
            randomNumber=randomNumber+1;
            document.getElementById("lot4").innerHTML=randomNumber;
    
            
            var randomNumber=Math.floor(Math.random()*59);
            randomNumber=randomNumber+1;
            document.getElementById("lot5").innerHTML=randomNumber;
    
            
            var randomNumber=Math.floor(Math.random()*59);
            randomNumber=randomNumber+1;
            document.getElementById("POWER").innerHTML=randomNumber;
         }
      </script>
    
    
    
    </head>
    
    <Body>
    	<p align="Left">
    	<h1>Lottery</h1>
    	<button type="button" onclick="lotto()">Pick Numbers</button>
    	<p id="lot1">Number 1</p>
             
            <p id="lot2">Number 2</p>
            
            <p id="lot3">Number 3</p>
            
            <p id="lot4">Number 4</p>
            
            <p id="lot5">Number 5</p>
            
            <h2><strong><font color="#FF0000">Special</font></strong></h2>
            <p id="POWER">Special Number</p>
    
    
    
    	
    
    </Body>
    </html>
    
    A lotto that people can actually win below......
    Code:
    <html>
    <Head>
    <Title>Lottery</Title>
    <Font Color="#181818"/> 
    
    
    <script type="text/javascript">
         function lotto(){
            
            var randomNumber=Math.floor(Math.random()*59);
            randomNumber=randomNumber+1;       
            document.getElementById("lot1").innerHTML=randomNumber;
    
            
            var randomNumber=Math.floor(Math.random()*59);
            randomNumber=randomNumber+1;
            document.getElementById("lot2").innerHTML=randomNumber;
    
            
            var randomNumber=Math.floor(Math.random()*59);
            randomNumber=randomNumber+1;
            document.getElementById("lot3").innerHTML=randomNumber;
    
            
         }
      </script>
    
    
    
    </head>
    
    <Body>
    	<p align="Left">
    	<h1>Lottery</h1>
    	<button type="button" onclick="lotto()">Pick Numbers</button>
    	<p id="lot1">Number 1</p>
             
            <p id="lot2">Number 2</p>
            
            <p id="lot3">Number 3</p>
            
            
    
    
    	
    
    </Body>
    </html>
     
  2. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    Code:
    <html>
    <Head>
    <Title>Lottery</Title>
    <Font Color="#181818"/> 
    
    
    <script type="text/javascript">
         function lotto(){
            
            var randomNumber1 = Math.ceil(Math.random()*50);    
            document.getElementById("lot1").innerHTML=randomNumber1;
    
            do
              {
            var randomNumber2 = Math.ceil(Math.random()*50);
    	  }
    	while (randomNumber1 == randomNumber2);  
            document.getElementById("lot2").innerHTML=randomNumber2;
    
            do
              {
              var randomNumber3=Math.ceil(Math.random()*50);
              }
            while (randomNumber3 == randomNumber1 || randomNumber2 == randomNumber3);
            document.getElementById("lot3").innerHTML=randomNumber3;
    
            
         }
      </script>
    
    
    
    </head>
    
    <Body>
       <p align="Left">
       <h1>Lottery</h1>
       <button type="button" onclick="lotto()">Pick Numbers</button>
       <p id="lot1">Number 1</p>
             
            <p id="lot2">Number 2</p>
            
            <p id="lot3">Number 3</p>
            
            
    
    
       
    
    </Body>
    </html>
    Fixed it for you.
    Also, I highly doubt that this will happen, it's just unnecessary work.
     
  3. Thecreator767

    Thecreator767 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Apr 22, 2012
    Messages:
    3,172
    Trophy Points:
    36,440
    Gender:
    Male
    Ratings:
    +248
    Thanks kuke :D

    Also Ik it probably wont be accepted but it would be cool to have a real lotto and not one that people can farm money off of.
     
  4. Raining_TNT

    Raining_TNT Builder
    Builder ⛰️ Ex-Resident ⚒️

    Joined:
    Nov 2, 2011
    Messages:
    188
    Trophy Points:
    26,035
    Ratings:
    +7
    i think the lotto we have now is just fine, i'd rather like
    that Andrewkm, Hobbits and all of the other devolpers used their time on something else :)

    Raining_TNT
     
  5. Thecreator767

    Thecreator767 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Apr 22, 2012
    Messages:
    3,172
    Trophy Points:
    36,440
    Gender:
    Male
    Ratings:
    +248
    Its just fine right now i`m not complaining against it i`m saying we should have one that you can`t snipe and make thousands off of at a time too.
     
  6. grahamster00

    grahamster00 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Apr 17, 2012
    Messages:
    551
    Trophy Points:
    27,390
    Ratings:
    +47
    Hm. This would get a lot more people in the lotto but we'd have massive lottos because just by voting you could buy 10 ticks. Think of all the millionaires that would buy ten thousands of tickets.
    Just some input.
     
  7. Thecreator767

    Thecreator767 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Apr 22, 2012
    Messages:
    3,172
    Trophy Points:
    36,440
    Gender:
    Male
    Ratings:
    +248
    Prices of it could be changed in any way shape or form
     
  8. MinerOFcrafts102

    Builder ⛰️ Ex-Resident ⚒️

    Joined:
    Jun 20, 2012
    Messages:
    294
    Trophy Points:
    25,725
    Ratings:
    +4
    Yea he is correct but we could have a ticket limit and it should be random to dont forget that but i think atleast 2 times a day everyday.
     
  9. Thecreator767

    Thecreator767 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Apr 22, 2012
    Messages:
    3,172
    Trophy Points:
    36,440
    Gender:
    Male
    Ratings:
    +248
    Its already impossible enough to get all 6 numbers xD or the 3 number one also xD no need for a ticket limit