zkCohort / zk_texas_holdem

GNU General Public License v3.0
3 stars 1 forks source link

As a child (contract), The contract should provide transitions/helpers for determining each win condition #8

Open NataliaSlobodianiuk opened 1 year ago

NataliaSlobodianiuk commented 1 year ago

(Conditions and logic borrowed from https://github.com/zachratliff/mental-poker/blob/main/poker_logic.py)

arosboro commented 1 year ago

@NataliaSlobodianiuk If you still need it, I can put the stick code in place for you to plug in your transitions. We have remaining work to do on sharing keys and updating public game state but it's really close. Your logic part will be crucial to the actual poker aspects. I can help with flush and royal/straight/full house etc if you are facing difficulty with those aspects as they are more complex.