You are viewing a single comment's thread from:

RE: Announcing Steem/SBD Blackjack at steembj.com!

in #steemit7 years ago

This looks interesting, but I could never recommend someone log into a site with their active private key. Maybe it would be good to encourage people to create separate accounts to use this? Do you have ways to demonstrate its provably random?

Sort:  

Hey Luke thank you very much for the reply, I recommend anyone to use an alternative account if they have any doubts about the site (its in the about section although maybe I should include it in the post?), just like steemdice and steemit, the logins are done purely through the JS library client side and no passwords are ever nor will ever be sent to the server (as I personally never like handling passwords as this would be vulernable to MITM attacks). In terms of provability with the randomness this would be interesting and I am certainly looking into it, its quite difficult with a game such as blackjack where there is time between hits, stands etc. I was thinking of using the block ids to be the hands, but as it stands right now it just uses the php random, maybe this is something you can help with in terms of input? Cheers

Well, short of making all the code open source and then letting people review it and run it themselves... or having some kind of code signing where people could know the code being run on the site matches what is in the github repo. Either way, it's tricky and people will just have to trust it (or not). Ultimately, vendors and game providers should hopefully be motivated to maintain their reputations by only running systems which are honest and fair.

Exactly, it makes it even more difficult in terms of verification in that the blackjack games are run in PHP, due to the fact that we don't want people modifying their results for obvious reasons, and since blackjack is an interactive game it is seemingly almost impossible to do it purely though JS. This is exactly why I strongly recommend using an alternative account, and will probably have a link to @pharesim's Steeminvite, Anonsteem,Vessel, or provide an alternate account creation service to facilitate this. In terms of motivation for fairness, I couldn't agree more, if the games do not have the probabilities/fairness that they claim, then ultimately the game-makers reputation is damaged and they lose players. At this point I'm just hoping that maybe one or two people have a little fun playing blackjack with Steem/SBD and to show the potential future of gaming applications / services on the Steem blockchain

As a side note: are you still working on the Steem PHP Api by any chance?

Well said.

I have some PHP tools I wrote and use for myself to do the weekly Exchange Transfer Reports, but I haven't updated it in a while. I should get with @jesta and make sure something solid is out there for the PHP community now that we have developers.steem.io live.

Awesome, yeah I was thinking of adding some examples to the developer page, as the JS examples are fairly ambiguous right now for newer developers coming from different languages.