Provably Fair
BC Originals کا ہر نتیجہ سرور سیڈ، کلائنٹ سیڈ اور nonce سے چیک کیا جا سکتا ہے۔ کوئی گیم منتخب کریں اور دیکھیں کہ اس کا نتیجہ کیسے نکالا جاتا ہے۔
Double
تصدیق کریںIs The Game Fair?
Double is a multiplayer game which uses a sha256 chain in combination with a salt (the hash of a Bitcoin block that had not been mined when the chain was published) to fairly generate rounds.
Chain Generation To generate the chain, we begin with securely randomized bytes. From there, we iterate feeding the previous seed into a sha256 function. Double games read the chain in a reverse order.
function parityValueFromHash(seed, salt) {
let hash = String(CryptoJS.HmacSHA256(CryptoJS.enc.Hex.parse(seed), salt));
const hex = hash.slice(0, 8);
const hexNumber = parseInt(hex, 16);
return Math.floor((hexNumber*15)/0x100000000);
}
return parityValueFromHash(seed, salt);