pull down to refresh
That is a great idea! No clue how to implement it.. but I will def. give it some thought. Thank you!
I think maybe the seed for the randomness could be based upon: seed = hash(blockHash + userId + timestamp)
Need to think about how this will change things. If it introduces attack vectors... and how it will influence the eventual website which should also have session IDs and nostr integration... hmmm..
I guess, if it is a hash that combines the blockhash with with huserId and a timestamp.. should be okay.. no‽
You probably know better than I. In my mind, I was thinking that it would be cool to tie card flips to the block at chaintip so that with each new block cards have different likelihoods of being selected, but this may mess up how you have set up the game.
I think players would enjoy a feeling that at any moment a new block might be found that changes their odds in the game. Or something like this.
The odds should be fair, pardoning the house, ofc. ;)
Only using the block-hash as a randomness-seed doesn't make sense. Everyone would get the same cards.
Making a new hash to use as a seed for the randomness that is individual per user, based on the newest block + userid + long/strong timestamp might make it more enjoyable/personal.
If I try and implement it, I would like to make it verifiable. for users too.
I Need to think about that.
How to give users this ability?
I guess all they would need is the blockhash, their user id, and the timestamp that was used plus the hash that came from it to in turn produce the randomness of the draw.
I don't know how much space it would take in the TG bot's text baloon to add all that.
Perhaps a better plan for the website.. Or maybe add a command..
I need to think about it a bit more.. It should take up minimum space.
Maybe it could be represented as a short code-block that pre-presents them the command they could run in their own terminal or on some website?
It would be cool if you could somehow base the randomness for the game on new bitcoin blocks. I have no idea how this would work, but getting a fortune told by the next bitcoin block seems like a really fun idea.