But that is not how provably fair games work right? Ive researched a bit and
''The server seed is unknown, but the hash is revealed. The client seed is something you set, after the server seed has already been generated.
''
I am talking from the host perception not the player perception.
As the host of the gambling site you know the results. However you can't cheat on a non investor gambling site without invalidating hashes, and giving it away.
And thus making it known to the community your site as a cheater.
The key point here is there are gambling sites that have an investor feature. Where people invest as a bank roll, and players play against the bank roll.
The host can sign up as a player on the site. And knowing the server seed + client seed + player seed can cheat as the player, stealing funds from the investor
roll. Without the investors ever knowing what happened.
On a normal gambling site, you don't have investors, your just the host, and players playing against the house. This is layed out differently. And works fine.
I am adding a uncertainty feature to the server seed, by mixing the amount of actions the user did on the round. To prevent the server from knowing the player actions, and thus giving you the result already as the host for cheating, you hash the player actions, and give the server the hash of the player actions. When the round ends, you reveal to the server the amount of actions you did and verify this up against the hash that was submitted, if it verifies, you mix this with the other players
and the server seed generating a brand new server seed, and from there you get the round results.
This is my idea.