Post
Topic
Board Gambling
Re: Buidling a New Crash Game with Community Experience
by
markbit
on 28/03/2024, 18:57:22 UTC
While my loss wasn't huge in the grand scheme of things, it taught me a valuable lesson: I want to create my own fair, reliable, and ultimately the best game ever. Yo, that loss stung, but hey, it ain't the end of the world. Now I'm fired up to build my own game, one that's straight-up fair. Fairness? Check. Trustworthy? Duh. And the user experience? Gonna be smoothest thing this side of butter.

Hello markbit.

Creating your own gambling engine isn't an easy task, It takes me a long time to develop my software and i would hardly recommend not starting from cero, you could buy software and use that as a base for your project. If you want more info about my gambling software please read my thread https://bitcointalk.org/index.php?topic=5489928.0

I don't have Crash, but i offer dice, and is almost the same... The user selects the multiplier and places the bet.

I will read it and get back to you. Software and DB side are the most important things for me. I am researching about new hashing method for DB encryption.

You don't have to encrypt the full database, only things like the user's passwords. And for that, you need a seed. sha256(UserPassword+ServerSeed)=Encripted password.

For the crash game the provably fair used to work with the sha of the sha... let's say you start with the sha256 of "hello world", you will get: b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9

Then you sha the sha multiple times...

b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9 Bet 10000
049da052634feb56ce6ec0bc648c672011edff1cb272b53113bbc90a8f00249c Bet 9999
768101f4bf5d7046a5b6257859df058c0468f5b5a7ebfdc251c88b1f16b0e8ef Bet 9998
....

And that's how you build the database for the next rolls. You can sha the sha 1 million times to have the next million rolls already on the DB, and if you want to make it more secure, then you mix that sha with a seed.

To decide the result of the bet you could take the last 4 digits of the hash and have those limits from FFFF (max multiplier) to 0000 (instant lose or x0)


Noted sir. it was very revealing. I think we can discuss more about it. As you say, maybe don't need to encrypt everything. Before my Dubai trip, I would like to determine at least v.1 features and etc. Because in my normal life, i'm obsessed about security, encryption and more. For example; I always keep my passwords and seed phases on Passbolt which is one of the open source encrypted "password manager". 

Thank you for your feedback.