Hash Dice, a probability game established by blockchain hash value calculation and algorithm, provides more fun with bet and prediction, in which the closer the number rolled by players to the random number, the higher the probability winning.

How to play Hash Dice?

Set a predicted interval first, such as 49999 < random number;
Then set the amount of this round, and click ROLL;
The result will be a random number between 0 and 99999;
If 49999 < random number, then you win; or you lose.
Tip:Players may set high and low interval
High: 1999-99998 < random number
Low: random numbe < 1 - 98000
Winning profit is at least 1.0102x and the maximum could go up to 99,000 x.

What is the HashDice return rate?

Only 1% edge, meaning that in long-term betting 99% of the bet amount will be attributed to the players, provides 99% return rate.


Is HashDice a fair game?

We are a fair and transparent betting platform, aiming to eliminate all unfair factors and let players have fun, provides HashDice with provable and verified system that allows each game fair in encrypted way.
In order to allow players to verify their bets, a pair of Server Seed and Client Seed is used to calculate a roll number.
Knowing Server Seed, Client Seed and Nonce it's possible to calculate bet result. To prevent a player from result prediction, Server Seed is hidden, and a SHA-256 hash of the seed is shown instead. After next randomization, previous Server Seed is revealed and a player is able to verify the bet. Also, players can make sure that Server Seed wasn't changed by comparing their hashes before and after randomization.

How is the data calculated?

To generate a roll number between 0 and 99,999 we combine your Server Seed, your Client Seed and your Nonce (bet number):
combination = Server Seed + Client Seed + Nonce
Then, we calculate a SHA-512 hash of that combination. That gives us a 128 character hex string: hash = SHA512(combination)
We then take the first 5 characters of that hash and convert them to a decimal number ranging from 0 to 1,048,575 (16 ^ 5 - 1). If it is less than 1 million, we divide it by 100,000 and use it as your roll outcome. Otherwise, we repeat using the next five characters. We are able to repeat the process up to 25 times.
In the very rare case ((48,576 / 1,000,000) ^ 25) that none of the 25 trials are lower than 1 million when converted to decimal, we use the remaining 3 characters and convert them to your roll number.

Code Example

The following code example can be used to verify a bet:
function getRoll (serverSeed, clientSeed, nonce) {
var hash = sha512(serverSeed + clientSeed + nonce);
var index = 0;
do {
var lucky = parseInt(hash.substr(index, 5), 16);
index += 5;
} while (lucky >= 1000000);
return lucky % 100000;

Please also check our online bet Verify

Tip: A new seed must be set to verify the previous data (the server seed is encrypted).


What is the bankroll?

The bankroll is the pool of money that the bankroller uses to pay out winners of the game.
The max profit that players can win from a round of the game is determined by the size of the bankroll. The larger the bankroll, the more players can win.
Each player can only win 0.75 % of the bankroll per round
All players can only win 1.125% of the funds per round
Players can bet on the bankroll (i.e. become bankrollers), and their bet is added to the bankroll such that they win when the house wins and they lose when the house loses.

How does the pool of funds operate?

The bankroll implements a shareholding system that allows everyone to participate and obtain the corresponding shares.
The house edge is 1%. 99% of each bet will go to the bankroll, and the remaining 1% will be reserved for platform operating costs.
Payouts made to the winning players will be deducted from the bankroll.

How does leverage investment work?

We'll add the selected multiplier to your initial investment ( minus dilution fee ). If the Bankroll goes down and your initial investment goes to 0, you're get liquidated and you lost your investment.
Hint: You can also use this feature as an Off-Site investment.
Let's make an example:
Let's say have 1 Bitcoin. You could deposit them to your Account and invest them all. You would now be entrusting your whole 1BTC to Bc.game, with the associated risks. Alternatively, you could deposit just 0.1 BTC of them, invest them, and then tell the site "I have 0.9 more BTC that I want to invest". You keep those coins safe in your own wallet with your own private key, but they are counted as part of the Game bankroll. Your share of the bankroll and your share of the site's profits and losses is the same as if you had invested your whole 1BTC. If the site should have a run of bad luck such that your 0.1 BTC goes to 0, You'll get liquidated and your leverage will be set to 0. In that way, you can never get into debt with the site but you can deposit again and keep your share of the bankroll.

What is the bankroller dilution fee?

Every time you bet on the house, 2 % of your bet is paid out to the other bankrollers according to their stake in the bankroll.
Put another way, every time somebody else bets on the house, you are awarded a portion of their 2 % dilution fee.
For example, if you bet 1 ETH on the house, then 2 % (0.02 ETH) of your house bet is spread out among the other bankrollers, and the remaining 0.98 ETH is added to your stake.
To capitalize on the dilution fee system, you will want to bet as much as you can on the house as early as possible. As you maximize your stake, you maximize your claim on future dilution fees.
This is our way of rewarding long-time bankrollers. It's never too late to become one!
Was this article helpful?
Thank you!