Author

Topic: Arena seeding event - JacksClub.io (Read 90 times)

copper member
Activity: 603
Merit: 122
August 27, 2024, 12:54:29 PM
#5
I was looking at the game concept, and i think is fun to see those fights. But when i tried to verify a bet there was a problem, your system doesn't show each fighter's power, it has cero for both as you can see in the next image.


I have no idea how the provably fair is calculated in a game like that, and the fact that a color is more power than the other one does it mean that fighter should win? because in the end, the one who lands more punches will win.

Yeah, so I can explain.
We only made the actual outcome of the game provably fair.
But we can't make the selection of the characters probably fair.
The reasoning behind this is that we don't want a static list of characters.
We want to be able to remove, add, or update the list of characters to make the game more fun.

So right now you have to fill in the power level of the champions of that round yourself.
I hope this explains it.
legendary
Activity: 3346
Merit: 3125
August 21, 2024, 08:38:48 AM
#4
The block has been mined!

Code:
000000000000000000012c08766309cbdfb2f7e7bca32910d876c4864d7f2c87
https://www.blockchain.com/explorer/blocks/btc/857620

You can find the beta version of Arena at https://jacksclub.io/games/arena!

I was looking at the game concept, and i think is fun to see those fights. But when i tried to verify a bet there was a problem, your system doesn't show each fighter's power, it has cero for both as you can see in the next image.


I have no idea how the provably fair is calculated in a game like that, and the fact that a color is more power than the other one does it mean that fighter should win? because in the end, the one who lands more punches will win.
legendary
Activity: 3402
Merit: 1227
Top Crypto Casino
August 21, 2024, 05:50:01 AM
#3
Hi Everyone,

Welcome to our seeding event for Arena.
To prove our fairness we have generated a chain of 10,000,000 SHA256 hashes where each hash is the hash of the hexadecimal representation of the previous hash.

The last hash in the chain is: 7e041beffa738113c5a18200861dcd7d0ae857e5e98bca8ad185cd8e384cb294

The formula for generating the game result:
Code:
const redTeamTotalStrength = 50;
const blueTeamTotalStrength = 50;

const gameHash = hashChain.pop()
const hmac = createHmac('sha256', gameHash);
hmac.update(blockHash); // blockHash is the hash of bitcoin block 857,620

const hex = hmac.digest('hex').substr(0, 13);
const num = parseInt(hex, 16) / Math.pow(2, 52);

const options = [
...Array.from({ length: redTeamTotalStrength }).map(() => 'red'),
...Array.from({ length: blueTeamTotalStrength }).map(() => 'blue'),
].flat()

const int = Math.floor(num * options.length);
const result = options[int];

blockHash used is Bitcoin block 857,620 which has not been mined at the time of posting. We are using the hash of a future Bitcoin block as a client seed so players can be certain that we did not pick one in the house’s favor.

I’d appreciate it if someone could quote this post so this is all set in stone.


Hello there, strangely no one still quote this, usually bitcointalk community is quite active with this kind of stuff.
Even if the block has already been mined I can see your opening post has not been edited so here we go.

Hope this helps.
copper member
Activity: 603
Merit: 122
August 20, 2024, 01:19:54 PM
#2
The block has been mined!

Code:
000000000000000000012c08766309cbdfb2f7e7bca32910d876c4864d7f2c87
https://www.blockchain.com/explorer/blocks/btc/857620

You can find the beta version of Arena at https://jacksclub.io/games/arena!
copper member
Activity: 603
Merit: 122
August 20, 2024, 07:15:33 AM
#1
Hi Everyone,

Welcome to our seeding event for Arena.
To prove our fairness we have generated a chain of 10,000,000 SHA256 hashes where each hash is the hash of the hexadecimal representation of the previous hash.

The last hash in the chain is: 7e041beffa738113c5a18200861dcd7d0ae857e5e98bca8ad185cd8e384cb294

The formula for generating the game result:
Code:
const redTeamTotalStrength = 50;
const blueTeamTotalStrength = 50;

const gameHash = hashChain.pop()
const hmac = createHmac('sha256', gameHash);
hmac.update(blockHash); // blockHash is the hash of bitcoin block 857,620

const hex = hmac.digest('hex').substr(0, 13);
const num = parseInt(hex, 16) / Math.pow(2, 52);

const options = [
...Array.from({ length: redTeamTotalStrength }).map(() => 'red'),
...Array.from({ length: blueTeamTotalStrength }).map(() => 'blue'),
].flat()

const int = Math.floor(num * options.length);
const result = options[int];

blockHash used is Bitcoin block 857,620 which has not been mined at the time of posting. We are using the hash of a future Bitcoin block as a client seed so players can be certain that we did not pick one in the house’s favor.

I’d appreciate it if someone could quote this post so this is all set in stone.
Jump to: