xadamxk / HFGS

:black_joker: Various tools for gaming on HF!
https://chrome.google.com/webstore/detail/hf-gambling-suite/gkncdlncbppkmojddfcncglmelgljcal
GNU General Public License v3.0
0 stars 0 forks source link

Implement split logic for second hand #2

Open xadamxk opened 5 years ago

xadamxk commented 5 years ago

Currently, only the first hand will react when a split occurs. The second hand needs to perform an action as well.

xadamxk commented 5 years ago

Request Example: gameId=913923295&actionId=1072500&my_post_key=

xadamxk commented 5 years ago

Split Result Example: {"success":true,"data":{"game_id":"913923295","bet":"2.000000","is_split":"1","turn":"hand1","outcome1":null,"outcome2":null,"ended":"0","payout":null,"action_id":"1072516","hand1":{"action":"SPLIT","new_card":"6d","hand_value":"16","hand_cards":["11c","6d"]},"hand2":{"action":"SPLIT_START","new_card":"2c","hand_value":"12","hand_cards":["12s","2c"]},"dealer":{"action":"START","new_card":null,"hand_cards":["10c","XX"]}},"balance":1638}