Emergenz
Newbie
Offline
Activity: 19
Merit: 0
|
|
May 20, 2013, 12:44:18 PM |
|
cfb7327f9360
|
|
|
|
Scrat Acorns (OP)
|
|
May 20, 2013, 04:54:01 PM |
|
Here's the script I'll be using tonight at midnight (GMT) to pick the winners: <?php
/* * Coinroll.it giveaway script (https://bitcointalk.org/index.php?topic=197242.0) * A 64-bit build of PHP is required */
$modulo = hexdec('ffffffffffff');
// Change this to the secret ID once it is released $secretId = hexdec('aaaaaaaaaaaa');
// Player bets go here $data = ' aaaaaaaaaaaa Player1 bbbbbbbbbbbb Player2 cccccccccccc Player3 ';
$playerDistances = array();
function arithmeticMod($x, $m) { if ($m < 0) $m = -$m; $r = $x % $m; return ($r < 0) ? $r + $m : $r; }
function modDistance($a, $b, $m) { return min(arithmeticMod($a - $b, $m), arithmeticMod($b - $a, $m)); }
$players = explode("\n", $data);
foreach($players as $player) { if (strlen($player) < 12) continue; list($id, $name) = explode(' ', $player, 2); $playerDistances[$name] = modDistance(hexdec($id), $secretId, $modulo); }
asort($playerDistances);
echo "Player Distance\n---------------------------------------------------\n";
foreach($playerDistances as $name => $distance) { echo str_pad($name, 25) . $distance . "\n"; }
?>
|
|
|
|
|
|
ograyray
Newbie
Offline
Activity: 32
Merit: 0
|
|
May 20, 2013, 05:24:38 PM |
|
LOVE IT!
55000fc4aef71b103
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1330
|
|
May 20, 2013, 07:25:36 PM |
|
LOVE IT!
55000fc4aef71b103
I think you mean https://coinroll.it/bet/fc4aef71b103< 55000 is the game you were playing (and it's far too close to my entry, 553098633cb8 ! )
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
ograyray
Newbie
Offline
Activity: 32
Merit: 0
|
|
May 20, 2013, 07:36:18 PM |
|
dooglus, did you see that roll?! 244 haha nice first roll... if only i had known.
And yes thank you for the correction: bet ID = fc4aef71b103
|
|
|
|
Mooshire
|
|
May 20, 2013, 09:16:10 PM |
|
I disagree with this drawing script. Needs to be more like int pickWinner { return "Mooshire" //chosen by questionable name out of hat //guaranteed to be completely legit }
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1330
|
|
May 20, 2013, 09:35:25 PM |
|
dooglus, did you see that roll?! 244 haha nice first roll... if only i had known.
Yeah, it kind of sucks when you win so convincingly. Because you could have won so much more if only you had been braver.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
Ajay
Member
Offline
Activity: 91
Merit: 10
|
|
May 20, 2013, 10:18:15 PM |
|
41d3f126f968
|
|
|
|
scalar33
Member
Offline
Activity: 65
Merit: 10
|
|
May 20, 2013, 11:28:35 PM |
|
7bd155ee7c66
|
62 Posts BTC: 12UByjpZgQMV1j8Hg8KQuztGbmfb2aD5HM
|
|
|
|
danieldaniel
|
|
May 21, 2013, 12:11:03 AM |
|
Yaysicles! 1NJzhk5xBBrgYtGxJaDURxubCt7KYTNP4o
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1330
|
|
May 21, 2013, 12:36:05 AM |
|
Congrats to the winners. My strategy failed me; I made a list of all the entries, found the biggest 'gap' between them, and played until I had a bet ID that fell near the middle of that biggest gap, thus maximising my chance of winning.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
counter
|
|
May 21, 2013, 01:40:49 AM Last edit: May 21, 2013, 02:07:51 AM by counter |
|
damn thought i had more time congrats winners edit: nice site I won my first play then lost it all in 3 bets
|
|
|
|
Mooshire
|
|
May 21, 2013, 02:58:11 AM |
|
You spelled Mooshire wrong.
|
|
|
|
arsenische
Legendary
Offline
Activity: 1199
Merit: 1012
|
|
May 21, 2013, 03:32:26 AM |
|
Your service is great, but please lock the thread. I don't want to read about my failure again and again
|
|
|
|
kuriboh
|
|
May 21, 2013, 04:58:01 AM |
|
Wow!!! I won!!! Great day today
|
|
|
|
Pokerfan
|
|
May 21, 2013, 09:07:55 AM |
|
I confirm that I have received the prize from Scrat Acorns.
I wish Coinroll.it to become a big success, he has built a great site that will beat all the inferior competitors! SatoshiDice should be very afraid!
I will personally be using Coinroll.it when demonstrating bitcoin to new people. Usually, I give them some mBTC, so there's not enough money to buy anything, but they can donate or gamble.
|
|
|
|
danieldaniel
|
|
May 21, 2013, 10:16:33 PM |
|
Same here. Thanks, Scrat!
|
|
|
|
|