Bitcoin Forum
May 03, 2024, 01:25:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blaze.com Fortune Double (Room I) seeding event  (Read 80 times)
blazecom (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
December 11, 2023, 07:42:51 PM
 #1

We’re excited to announce that we’re releasing Fortune double game (Room 1) in Blaze  , so we welcome you to our seeding event for Fortune double which we would be releasing soon. For this seeding event we are following the same approach we had for Crash, Slide and Double.

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: d28e7aed46149e63ec8e2c95b4e829327f59b7dff56539cd232544904827dc35

 

Script to calculate Fortune double roll:

Code                                 

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' },
];

module.exports.getColorByRoll = (roll) => {
  return ROULETTE_TILES.find((t) => t.number === roll).color;
};

const getWhiteMultiplierFromHash = (hash) => {
  let h = parseInt(hash.slice(0, 52 / 4), 16);
  let e = Math.pow(2, 52);

  let multiplier = Math.floor((100 * e - h) / (e - h)) / 100 + 7.5;
  multiplier = Math.max(8.5, Math.min(multiplier, 250));

  return +multiplier.toFixed(2);
};

module.exports.getRollFromHash = (hash) => {
  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, multiplier;
  switch (tile.color) {
    case 'white':
      color = 0;
      multiplier = getWhiteMultiplierFromHash(hash);
      break;

    case 'black':
      color = 2;
      multiplier = 2;
      break;

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

  return {
    n: n,
    multiplier: multiplier,
    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 820749, 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 Fortune double very soon!

1714699524
Hero Member
*
Offline Offline

Posts: 1714699524

View Profile Personal Message (Offline)

Ignore
1714699524
Reply with quote  #2

1714699524
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714699524
Hero Member
*
Offline Offline

Posts: 1714699524

View Profile Personal Message (Offline)

Ignore
1714699524
Reply with quote  #2

1714699524
Report to moderator
blazecom (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
December 11, 2023, 09:17:03 PM
 #2

Archived post: [https://archive.ph/wip/X09Pm]

Client seed has been mined!
Code:
00000000000000000002a0296a28ed916e342ec41748eac8d4015a215a875208

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

https://blaze.com/en/games/fortune-double/1

SEE YOU THERE!
blazecom (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
December 14, 2023, 03:38:24 PM
 #3

We found a Bug due to an issue with gold multipliers all being around 8.52x instead of having variations between 8.5-250x.
We had to change the code when we convert the hash into an integer.

Existing line:
Code:
let h = parseInt(hash.slice(0, 52 / 4), 16);

We have replaced the line above with the next one:

Code:
/**
   * Uses the last 13 characters of the hash because the first 13 characters strongly affect the probability of landing on 0
   * When converting the hash to an integer, the left most characters are the most significant digits
   */
  let h = parseInt(hash.slice(-52 / 4), 16);

Since the game was not released yet no users will affected from this change.
indo1
Sr. Member
****
Offline Offline

Activity: 1890
Merit: 256


Vave.com - Crypto Casino


View Profile WWW
December 14, 2023, 04:39:15 PM
 #4

why don't you design your thread to look attractive?
please buy member copper so you can post pictures here, I see your telegram has a lot of subscribers and a lot of views, is that real?

rhomelmabini
Hero Member
*****
Offline Offline

Activity: 2002
Merit: 578


View Profile
December 14, 2023, 04:50:32 PM
Merited by indo1 (1)
 #5

why don't you design your thread to look attractive?
please buy member copper so you can post pictures here, I see your telegram has a lot of subscribers and a lot of views, is that real?
I think we've heard that too many times but that isn't a requirement to meet everytime a newbie post here with a new thread, that's not mandatory. They'll improve it if they want it. Glad to see the honesty and dedication but you really need to tell more about your site in here, some kind of introduction for people to know your casino more.
indo1
Sr. Member
****
Offline Offline

Activity: 1890
Merit: 256


Vave.com - Crypto Casino


View Profile WWW
December 14, 2023, 04:57:10 PM
 #6

why don't you design your thread to look attractive?
please buy member copper so you can post pictures here, I see your telegram has a lot of subscribers and a lot of views, is that real?
I think we've heard that too many times but that isn't a requirement to meet everytime a newbie post here with a new thread, that's not mandatory. They'll improve it if they want it. Glad to see the honesty and dedication but you really need to tell more about your site in here, some kind of introduction for people to know your casino more.
yes, that's what I meant to tell him to design it better, to introduce their casino, maybe I don't like a simple appearance like this, thank you for your advice, I will change my mindset  Smiley

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!