Search content
Sort by

Showing 5 of 5 results by coderZev
Post
Topic
Board Project Development
Re: peer-to-peer poker site?
by
coderZev
on 09/08/2021, 14:39:15 UTC
If one of the players is the dealer and deals the cards there is a problem because then the dealer knows the cards of the other players. Because the dealer is also participating in the game. It could be encrypted in some clever multi-party way so that the dealer doesn't know the cards, but then it could also be encrypted in the same way in a client-server scenario, so having a player be the dealer doesn't really achieve anything. There is a good explanation in this video:

https://www.youtube.com/watch?v=mthPiiCS24A

In this scenario all the cards are encrypted with the keys from all the players, so it is only when all players agree that a card can be relieved. This would work in theory, but only as long as the players are fair enough to provide the encryption keys when a card is to be dealt. A player can easily sabotage the game if he has bad cards and doesn't want to play them.

Another possibility would be if the game is actually happening as a smart contract on a blockchain, and the card dealing happens as transactions. This wouldn't really be possible either, because smart contracts are executing far too slow for that.

This is as far as I have gotten in my thinking. I'm sure there is a solution, but I haven't figured it out yet.



In a "heads up" situation it's not an issue because failing to unlock would be considered a fold and the opponent would get the pot. If there are more than 2 players, it can still result in a fold, and then the only advantage in doing that would be that the next hand would start right away thus saving him time.  So you can write the app so that doing this would result in a penalty, say, having to sit out x number of hands before he can play again, and also a loss of "karma" and the behavior can even be spelled out in the bio for all to see, thus making it less desirable for people to want to play with him.

A perhaps worse issue would be if a player suddenly loses connection before unlocking.
Post
Topic
Board Project Development
Re: peer-to-peer poker site?
by
coderZev
on 04/08/2021, 02:46:19 UTC
since there is no server and therefore no dealer, I can see how this can be an issue. But how about this: just like in a home game, the players take turns dealing  - the player who has the button is the dealer - and then why not have a "dealer bot" hard coded in the app, and the dealer bot deals out cards to everyone at the table when its their turn to deal. all the data of the game gets distributed to all the players, except that the data that they're not supposed to see gets encoded for the players who are not supposed to see it, and decoded for the players who are supposed to see it. would that work?
Post
Topic
Board Project Development
Topic OP
peer-to-peer poker site?
by
coderZev
on 03/08/2021, 00:03:27 UTC
Hi is it possible to use blockchain technology to build a peer-to-peer poker site where players buy the chips using crypto? Normally you have a server that keeps track of the cards, the stacks, the actions, etc. But to have each move work like a transaction would be too slow as the game requires instant results. Perhaps there is a different way this can be achieved?
Post
Topic
Board Mining
Topic OP
mining vs selling to the grid
by
coderZev
on 30/07/2021, 15:52:01 UTC
This is a thought experiment and please feel free to correct me if my presumptions are wrong

Assuming an entity or a company decides create a sustainable mining operation. So he sets up wind farms, solar, water wheels etc to generate the electricity. But now that he has all that electricity, why not just sell it to the grid? I know that those that have solar panels can do that if the panels generated more electricity than the owner used.

So let's say that mining is more profitable than selling to the grid.

OK, then what stops the big utilities from using their electricity to mine as opposed to selling it to the consumer? The regulator authorities?

Post
Topic
Board Development & Technical Discussion
Re: Proof of Play (PoP): How Blockchain will Gamify our World.
by
coderZev
on 28/07/2021, 23:33:02 UTC
The bots problem can be solved in the following way:

Let the games be part of an online casino where the House has a small edge, just like a regular casino (~1%). The mined coins are created in the form of jackpots that are won simply by playing. The value of the mined coins (jackpots) that accrue to the player should be less than the house edge, on average. An owner of a bot farm will not want to apply his bots to the games because then, by the law of large numbers he will lose money. On the other hand humans will want to play because its fun. This is called Entertainment Value. Entertainment Value (EV) to a bot is zero because a bot derives no pleasure from playing the game. Here is the formula:

House Edge > Mined Coins
Mined Coins + Entertainment Value > House Edge

This would work best with a stablecoin lest the bot farm owner add an expected price rise to the formula:

House Edge < Mined Coins * (1 + Expected Price Rise)