-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #410 from chips-blockchain/verus_test
Merging all the changes till deck updation at player ID
- Loading branch information
Showing
21 changed files
with
344 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[verus] | ||
dealer_id = "sg777_d" #The player specifically looks if any dealers with this name exists in the available dealer names and prefers that to join, else atm the player picks any one dealer that is available. | ||
table_id = "sg777_t" #If this set, then player looks to join the table with this specific name which is hosted by the dealer it is set in dealer_id and if no dealer_id is set then the player scan through all the dealers and tables available and joins if any table with this name exists, else the player just picks any one table and joins. | ||
primaryaddress = "RUDCNptNJZrzFErgRXgPcfEcWXdY7Rn7x2" #This is the address owned by the player, the cashiers adds this address as the primaryaddress to the corresponding table_id. | ||
wallet_addr = "*" #This is the player registered address from which the player can spend funds from, the default value is *. | ||
player_id = "p1" #This is the verus player ID, to which player updates the game info, so this ID must be signable and spendable from the node in which bet player node is running. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#include "bet.h" | ||
|
||
cJSON *add_dealer(char *dealer_id); | ||
int32_t add_dealer(char *dealer_id); | ||
int32_t dealer_table_init(struct table t); | ||
bool is_players_shuffled_deck(char *table_id); | ||
int32_t dealer_shuffle_deck(char *id); | ||
int32_t handle_game_state(char *table_id); | ||
int32_t update_t_info_at_dealer(struct table t); | ||
int32_t register_table(struct table t); | ||
int32_t dealer_init(struct table t); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.