Bitcoin Forum
April 24, 2024, 09:14:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Crazy Roulette -- New Game - Win the max prize!!!  (Read 2894 times)
cyberaa (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0



View Profile WWW
June 15, 2011, 10:59:22 PM
Last edit: April 17, 2013, 09:45:15 PM by cyberaa
 #1

Crazy Roulette

The Crazy Roulette [Fun version] is very simple,the registrations for each round close every friday of each week.Everyone can join in the fun version with the price of each ticket being 0.10 btc each, dont send more or less than that or your registration will not be accepted.At saturday of each week, the winner will be announced and i will post here each weeks winner and his earnings and also a proof of payment which you will be able to see with blockexplorer.

you can buy multiple tickets since this a roulette it will increase your opportunity of winning the max prize.

So how does it work?
After the registrations are closed, every address has a number which is the number that corresponds to the order they bought the tickets.The roulette which is random and set with a number of spins defined by me in the fun version will add numbers to an array randomly, the person with the biggest number each week is the winner.

New version will appear if there is interest ...
To make it fair i will keep a 2% value of total max prize every week, so that i feel that is my work is appreciated and to create new games ...

[Fun version]
Number of spins = 10
ticket price = 0.10 btc
[Serious version]
Number of spins = 2500
ticket price = 0.25 btc

Dont send more or less the the ticket price or you will not be accepted.Thanks



Actual Prize:
Fun Version:
0 btc
Serious Version:
0 btc

Updated everyday ...

Steps

1. Send 0.10 btcs to:
Code:
157Gzuh97vviDNCQnLNTe2jGawdDK8HcoA
For fun version ...
Code:
1CXARkxE4p2kp75duhRCjtHzi89Gm44hJ3
For serious version ...

watch: http://blockexplorer.com/address/157Gzuh97vviDNCQnLNTe2jGawdDK8HcoA
watch: http://blockexplorer.com/address/1CXARkxE4p2kp75duhRCjtHzi89Gm44hJ3
2. Wait until Saturday of the winners announcement.

source code:
Code:
#Dont modify/distribute without the author permission.


def addr_array(total):
    addresses = [0 for i in range(total)]
    return addresses;
  
def random_number(total_spins,addresses):
   i = 0;
   j = 0;
   while(j<total_spins):
      while(i<total):
          random_pos = randint(0,total-1);
          addresses[random_pos] +=1;
          i = i + 1;
      j = j + 1;
   return addresses;

def check_winner(max,address,total):
    count = 0;
    for i in range(total):
       if(address[i] == max):
          print("%d - Address %d with max value of %d ...\n" % (count,i,max));
          count +=1;
    return count;
def get_winner(total,address):

   max = 0;
   pos = 0;
   i = 0;
   winners = [];
   count = 0;
   while(i<total):
      if(address[i]>max):
         max = address[i];
         pos = i;
      i=i+1;
   count = check_winner(max,address,total)
   if(count <2):
       print("The winner is %d with max %d \n" % (pos,max));
   else:
       for num in range(total):
         if(address[num] == max):
             winners.append(num);
       print("The winner is %d with max %d after a close fight with %d more addresses \n" % (winners[randint(0,count-1)],max,count));
      
 get_winner(total,random_number(total_spins,addr_array(total)));


Any question just tell me ...
Thanks !!!
1713993248
Hero Member
*
Offline Offline

Posts: 1713993248

View Profile Personal Message (Offline)

Ignore
1713993248
Reply with quote  #2

1713993248
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713993248
Hero Member
*
Offline Offline

Posts: 1713993248

View Profile Personal Message (Offline)

Ignore
1713993248
Reply with quote  #2

1713993248
Report to moderator
Fiyasko
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


Okey Dokey Lokey


View Profile
June 16, 2011, 06:20:44 AM
 #2

This is a Raffle if not a Lottery, This is Not a roulette.

http://bitcoin-otc.com/viewratingdetail.php?nick=DingoRabiit&sign=ANY&type=RECV <-My Ratings
https://bitcointalk.org/index.php?topic=857670.0 GAWminers and associated things are not to be trusted, Especially the "mineral" exchange
cyberaa (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0



View Profile WWW
June 16, 2011, 02:14:19 PM
 #3

Sorry but i didnt said this is a roulette like casino this is more like a spinning wheel where it randomly give probabilities to each address. The crazy roulette is the name of the game that i did create.When i mean roulette im thinking of the wheel that randomly selects a position not a casino roulette where you can bet in some numbers...
Anyone interested? i will be adding a new version which is the serious version with more spins like 2500 and with a buying ticket of 0.25 btc
thanks...
Fiyasko
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


Okey Dokey Lokey


View Profile
June 16, 2011, 07:01:55 PM
 #4

It's still a lottery, Your "wheel" is nothing more than a random number generator

http://bitcoin-otc.com/viewratingdetail.php?nick=DingoRabiit&sign=ANY&type=RECV <-My Ratings
https://bitcointalk.org/index.php?topic=857670.0 GAWminers and associated things are not to be trusted, Especially the "mineral" exchange
cyberaa (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0



View Profile WWW
June 16, 2011, 09:44:14 PM
 #5

i didnt wanted to be rude but i must say u dont know much about coding i could turn that into a real roulette like casino in 5 mins or do you think that i need to make a drawing to be a wheel?no ... just for your information, real roulettes in casino i mean virtual ones are based on probabilities like this just a little more complex and with numbers where you bet, interface is just something to show to users.
Now if you dont have anything constructive to say, leave it alone.
Im tired of all this haters that have too much free time ...
Thanks...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!