Hello, family, I am your old friend LiuShao.
Last updated: 15.06.2023
Submited by LiuShao, [email protected]
Team: WeTrue Team
Approved Budget (in h):
Used Budget (in h):
Specify the funding category
Open Source Development
LiuShao.chain Lfh2msn · GitHub
Currently there are many tokens on the AE chain that are only being deployed, as well as mint. [Space Dice] is a simple Dice game, it has a certain gambling nature. Many times people also look forward to having some fun in their spare time, such as using their tokens. At the same time we can attract other users to use and understand AE.
Definition of Terms
In a simple Dice game, players choose a start and end range of up to 9,500 numbers in 0000-9999, and the smart contract will give any random result in 0000-9999. Random numbers in the player’s selection range will be rewarded. The smaller the choice, the richer the reward.
The visual interface development has been completed, and the smart contract has been partially completed. We have released a version of bate based on AE Main Net in WeTrue.
- Complete all development of SpaceDice smart contract
- Complete the UI operations
- Debug the consistency of smart contracts and UI data working together
- Conduct the test phase. To the last release
It takes about three months
We are halfway through development, and the current version 3 test results are good.
Smart players can double their bets to win, and we are currently addressing this issue.
Once all development work is completed, promotional materials and rules of the game need to be created and promoted in the community and beyond.
As long as AE is running here, I will always maintain it
The video on Telegram looked really nice, could you add it here as well please?
Can you add the open source repository so that people can look into the current status quo of the contracts?
Also, can you please elaborate on the randomness part? How do you ensure real randomness without relying on an oracle?! I fail to understand this part as this is a known “issue”.
It’s still in development, but if all goes well, I’ll open source it.
For the selection of random numbers, I used several parameter combinations.
0000-9999 The change we are most concerned about is number four. That’s the thousands place.
This is a key AEX9 contract that makes up random numbers, and its total supply is increasing rapidly every second. We choose its units digits as the thousands of random numbers.
At the same time, I chose the timestamp, the difficulty, and the combination.
As long as we keep the 4th and 3rd digits difficult to get, and fast enough to update faster than the tx send completion time, then even if you know the random number in advance it is difficult to bet on it.
Also, I built an int into the contract state. It’s growing positively. The correct value cannot be obtained externally. And the entry and exit of pool funds will also affect the generation of random numbers.
Did you, now? I think so too, haha.
Timestamps are perfectly forgable, I don’t see how you could use them for any sort of fair randomness. A miner can play with difficulty as well. I am genuinely curious how exactly you are making it safe.
go @LiuShao.chain , we want to see you succeed !
You can try adding this effect to the rolled number to make it look more like a slot machine ? Slot Machine Text Animation – CodeMyUI
@LiuShao.chain the Mdw had a bottleneck to process all these calls but a solution was deployed yesterday. I am sorry for any inconvenience.