You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`get_game_state`| Retrieves the current complete game state |
115
+
|`go_to_menu`| Returns to the main menu from any game state |
116
+
|`start_run`| Starts a new game run with specified configuration |
117
+
|`skip_or_select_blind`| Handles blind selection - either select the current blind to play or skip it |
118
+
|`play_hand_or_discard`| Plays selected cards or discards them |
119
+
|`rearrange_hand`| Reorders the current hand according to the supplied index list |
120
+
|`cash_out`| Proceeds from round completion to the shop phase |
121
+
|`shop`| Performs shop actions: proceed to next round (`next_round`), purchase a card (`buy_card`), or reroll shop (`reroll`) |
122
122
123
123
### Parameters
124
124
@@ -130,7 +130,21 @@ The following table details the parameters required for each function. Note that
130
130
|`skip_or_select_blind`|`action` (string): Either "select" or "skip" |
131
131
|`play_hand_or_discard`|`action` (string): Either "play_hand" or "discard"<br>`cards` (array): Card indices (0-indexed, 1-5 cards) |
132
132
|`rearrange_hand`|`cards` (array): Card indices (0-indexed, exactly `hand_size` elements) |
133
-
|`shop`|`action` (string): Shop action ("next_round" or "buy_card")<br>`index` (number, required when `action` = "buy_card"): 0-based card index to purchase |
133
+
|`shop`|`action` (string): Shop action ("next_round", "buy_card", or "reroll")<br>`index` (number, required when `action` = "buy_card"): 0-based card index to purchase |
134
+
135
+
### Shop Actions
136
+
137
+
The `shop` function supports multiple in-shop actions. Use the `action` field inside the `arguments` object to specify which of these to execute.
0 commit comments