-
Initializes a new game.
Arguments:
game_type
: OnlyHoldem
is supported for now.player
: Array containing account ids of the players for current game.small_blind
: Small blind amount for the current game.buy_in
: Buy in amount for the current game.config
: An optionalConfig.toml
file containing all the above data.
Example usage:
- Without a
Config.toml
aze-cli init -g Holem -p id1 id2 id3 id4 -s 5 -b 1000
- With a
Config.toml
aze-cli init -c ./Config.toml
-
Creates a player account.
Arguments:
identifier
: A string identifier for mapping to its correspondingAccountId
Example usage:
aze-cli register -i John
-
Connect to the game broadcast server.
Arguments:
ws url
: Broadcast server url, generated when init command is run
Example usage:
aze-cli connect -u ws://192.168.30.51:12044/ws/0x0ad5hs7gduiu3e
-
Performs the player's desired bet action.
Example usage:
aze-cli action
-
Starts a cron job in player's current device for automatically consuming game notes.
Example usage
aze-cli consume-notes
-
Unmasks the player's cards.
Example usage:
aze-cli peek-hand
-
Commits the player's current hand to the game account.
Example usage:
aze-cli commit-hand
-
Notifications
You must be signed in to change notification settings - Fork 1
License
RizeLabs/aze-cli
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published