chips-blockchain / bet

This repository holds the implementation code of Pangea Poker white paper: https://bit.ly/3bdCz0Z
https://chips.cash
16 stars 17 forks source link

Public & Private tables - dealer option #122

Open NutellaLicka opened 4 years ago

NutellaLicka commented 4 years ago

Are you able to add a "Private" or "Public" option when dealers start tables (along with all the other options). This way, if it is public, the IP will be sent to the cashier nodes for distribution, otherwise it is private, and the table will not be accessible for anybody that doesn't enter it directly into the GUI.

Having the ability to make a table private is a great way of having friends playing together. For example, one friend starts a dealer node for the evening, sets the table as "Private" (does not distribute IP to cashier nodes), and gives their friends that IP to join the table. The games are still played on the CHIPS network, the cashier nodes take their rake, and the friends can play poker in a trustless, verifiable, online way.

NutellaLicka commented 4 years ago

And another addition for dealer customisable options when starting a table: ./bet "gametype" "table size" "blinds" "limit" "rake"

For DCV nodes. "gametype": 'THP' = Texas Hold'em Poker

"tablename": 'CHIPS Team 1/2' = Table Name

"tablesize": 'x' = max number of players on the table. x/2 rounded down is minimum number.

"blinds": 'x' = amount for the big blind. (in 1000's of satoshis?) Small blind is always x/2.

"limit": Max deposit amount. (in 1000's of satoshis?) 'NL' = No Limit 'x' = x * big blind Min amount = 3x big blind for all tables.(or other amount)

"rake": '0.25' = The % of rake the dealer will be taking

Or you could just make the command ./bet "gametype" Then have response/reply commands afterwards that ask for table size, blinds and limit.