Author

Topic: Blaze.com Double migration seeding event (Read 71 times)

newbie
Activity: 17
Merit: 0
December 28, 2023, 02:46:55 PM
#2
Archived post: https://archive.ph/wStDU

Client seed has been mined!

Code:
0000000000000000000292453e3be843129d4a0fb13f6249935524225b545c7b

https://www.blockchain.com/explorer/blocks/btc/823307 

https://blaze-4.com/en/games/double-v2

SEE YOU THERE!
newbie
Activity: 17
Merit: 0
December 28, 2023, 02:25:27 PM
#1
We've to migrate Double into a dedicate service, for that reason we have to generate a new seeding event.

As part of our fairness we generated a chain of 10,000,000 SHA256 hashes where each hash is the hash of the hexadecimal representation of the previous hash. Being the last hash in the chain: b24f784dc4371781e85bf089ddb99ce56de899d8a6e8a09e652f92a40baada85


Script to calculate Double tail:
Code:
const ROULETTE_TILES = [
  { number: 0, color: 'white' },
  { number: 11, color: 'black' },
  { number: 5, color: 'red' },
  { number: 10, color: 'black' },
  { number: 6, color: 'red' },
  { number: 9, color: 'black' },
  { number: 7, color: 'red' },
  { number: 8, color: 'black' },
  { number: 1, color: 'red' },
  { number: 14, color: 'black' },
  { number: 2, color: 'red' },
  { number: 13, color: 'black' },
  { number: 3, color: 'red' },
  { number: 12, color: 'black' },
  { number: 4, color: 'red' },
];

getRollFromHash = (hash) => {
  // roulette number from 0-15
  const integ = parseInt(hash, 16);
  const MAX_RANGE = Math.pow(2, 256);
  const randval = integ / MAX_RANGE;
  const n = Math.floor(randval * 15);
  const tile = ROULETTE_TILES.find((t) => t.number === n);

  let color;
  switch (tile.color) {
    case 'white':
      color = 0;
      break;

    case 'black':
      color = 2;
      break;

    case 'red':
      color = 1;
      break;
  }

  return {
    n,
    color: color,
  };
};


We’re gonna be using a BlockHash that hasn’t been mined at the time of this post, we’re expecting to use Bitcoin block 823307, this to prove we have no influence over the outcome of the game. Please guys feel free to quote this post so this will be all set in stone.

Looking forward to show you guys Double migration very soon!
Jump to: