Bitcoin Forum
August 20, 2024, 11:23:04 PM *
News: All versions of Windows are affected by a critical security bug; make sure you update.
 
   Home   Help Search Login Register More  

Warning: You are in the Gambling section. You are likely to eventually lose any money that you gamble/"invest". Additionally, moderators do not remove likely scams. You must use your own brain: caveat emptor. Do not gamble more than you can afford to lose.

Pages: [1]
  Print  
Author Topic: [ANNOUNCE] 1BitcoinJackpot.com game  (Read 226 times)
1bitcoinjackpot (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 13, 2017, 12:24:40 PM
Last edit: November 13, 2017, 01:08:55 PM by 1bitcoinjackpot
 #1

Hi everyone,

Announcing a new game in town 1BitcoinJackpot.com

The rules are simple:

Quote
 1. Send any amount of Bitcoin to the jackpot address (remember: Bitcoin 3G iPad):

    1Bitcoin3giPAD4FP2FLgTCtcA1nqUinTa

  2. Wait 6 confirmations to play a game

  3. Every time the jackpot address has over BTC0.01BTC, a new game begins

  4. The winner (chosen deterministically) will receive 99% of the jackpot

  5. Remember: the more you send, the higher your chances of winning

To deterministically verify how a winner is chosen, see the site for more details.

We're starting out small (BTC0.01). If we see lots of people playing at the same time, we'll increase it to BTC0.1BTC, then BTC1BTC, then the Moon!

Edit: The starting block is 000000000000000000b1e14d9966b83b41af0b3f69f4c432672d2ab0dd0d9b1f
1bitcoinjackpot (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 13, 2017, 08:07:08 PM
 #2

Just to reiterate, winners are verifiably, deterministically chosen:

Quote
#!/usr/bin/env pseudo-python3

from random import seed, uniform

current_block_hash = previous_game_block['nextblockhash']

jackpot_total = 0
players = []

while True:
    current_block = getblock(current_block_hash)

    for transaction in current_block:
        if transaction['amount'] <= 0:
            continue

        jackpot_total += amount

        players.append({
            'from_address': transaction['from_address']
            'amount': transaction['amount'],
        })

    if jackpot_total < 0.01:
        current_block_hash = current_block['nextblockhash']
        continue

    seed(current_block['nextblockhash'])
    winning_marker = uniform(0.0, float(jackpot_total))

    current_marker = 0
    winner_address = None

    for player in players:
        current_marker += player['amount']

        if winning_marker <= current_marker:
            winner_address = player['from_address']
            break

    send_to_winner = float(jackpot_total) * 0.99
    send_to_bank = float(jackpot_total) - send_to_winner

    sendmany("", {
        winner_address: send_to_winner,
        bank_address: send_to_bank,
    })

    jackpot_total = 0
    current_block_hash = current_block['nextblockhash']
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!