How is working blockchain based games?
There are 3 games but this easiest one to understand is this one
Greater than game.
In this game you play against the system with the winning probability you choose. In case of winning, your prize is the amount sent multiplied by the multiplier.
The available probabilities are:
Win chance Winner number Payout
89% >109 Amount played x1,078
74% >259 Amount played x1,225
49% >510 Amount played x1,96
24% >760 Amount played x3,92
9% >910 Amount played x9,8
To generate the winning number for each play, the system takes all the factors from the Pesetacoin network. When you make the transaction, the network generates an unique identifier called txid. From the txid it takes the first hexadecimal character (from 0 to f)
That number is translated to a decimal system (from 0 to 15) and the we move to the hash of the block where this transaction has been included. In the hash, we choose the hexadecimal number in the position we previously had calculated from the txid (from 0 to 15).
We read the new hexadecimal number and we translate it to decimal number.
We move back to the txid, we remove all the letters and we leave only the numbers.
Then using the number we have taken from the blockhash, we take the position in the txid we gonna start using the numbers from. We read the next 3 following numbers and that's the three numbers we are using for the game.
Example:
Txid of the transaction: a2f073bcc1ac05f75700167ecfa36715c6448daf58e37d19ace11621fa63cb0a
Hash of the block with the txid: 1f79c5b07a208e5484077a6e66e123834935e3e6a2c5df896e873548cdf7c6a6
From the txid we get the first character (position 0), the a which is 10 in decimal system.
In the block hash, we go to the 10th position (first position is 0, not 1) 1f79c5b07a208e5484077a6e66e123834935e3e6a2c5df896e873548cdf7c6a6 and we have the number 2 (could have been a letter because we using using the hexadecimal system).
We go back to the txid only with numbers (we remove the letters) and from the 3rd position we take 3 numbers (we had a 2, so we take the next 3 numbers)
20731057570016736715644858371911621630
The number we get would be the 731.
The amount of coins you can send has a minimum and a maximum.
In case of behind below or above those limits, it will be returned deducting game commission (1%), faucet commission (0,5%) and Jackpot commission (0,5%).
If the amount sent is between the limits the game starts. In each play, there is a faucet commission (0,5%) and a Jackpot commission (0,5%).
The play will get into effect after 3 confirmations (between 3 and 5 minutes).
In case of winning, your prize is the amount sent multiplied by the multiplier and you will receive your prize in a few minutes in the same address you've made the transaction from. If the number of the play is 999, aside from your prize you will also receive the jackpot.