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
Copy file name to clipboardexpand all lines: README.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -218,18 +218,18 @@ repeat 3 {
218
218
219
219
The following command can be used in a rule block:
220
220
221
-
*`x`: horizontal position of the pile.
222
-
*`y`: vertical position of the pile.
223
-
*`deal`: number of cards to initially deal to the pile.
224
-
*`redeal`: maximum number of redeals (for `stock`-pile). 0 for unlimited.
225
-
*`hide`: number of cards to initially deal face-down. If the number is negative, i.e. `hide -n`, then all cards are hidden except the top n cards.
226
-
*`first_rank`: rank of first card in pile (see below for possible values).
227
-
*`first_suit`: suit of first card in pile (see below for possible values).
228
-
*`next_rank`: rank of next card in pile (see below for possible values).
229
-
*`next_suit`: suit of next card in pile (see below for possible values).
230
-
`move_group`: whether it's possible to move a valid sequence (`group`), any sequence (`any`), or just single cards (`one`).
231
-
`from`: which pile to accept cards from: `foundation`, `cell`, `tableau`, `stock`, `waste`, or `any`.
232
-
*`win_rank`: the game is won when the top card of all foundations is of this rank (see below for possible values).
221
+
*`x`: horizontal position of the pile (default: 0).
222
+
*`y`: vertical position of the pile (default: 0).
223
+
*`deal`: number of cards to initially deal to the pile (default: 0).
224
+
*`redeal`: maximum number of redeals (for `stock`-pile). -1 for unlimited (default -1).
225
+
*`hide`: number of cards to initially deal face-down. If the number is negative, i.e. `hide -n`, then all cards are hidden except the top n cards (default 0).
226
+
*`first_rank`: rank of first card in pile (see below for possible values) (default: `ace` if foundation, `none` if stock, `any` otherwise).
227
+
*`first_suit`: suit of first card in pile (see below for possible values) (default: `same` if foundation, `none` if stock, `any` otherwise).
228
+
*`next_rank`: rank of next card in pile (see below for possible values) (default: `up` if foundation, `down` if tableau, `none` if stock or cell, `any` otherwise).
229
+
*`next_suit`: suit of next card in pile (see below for possible values) (default: `same` if foundation, `any` if tableau, `none` if stock or cell, `any` otherwise).
230
+
`move_group`: whether it's possible to move a valid sequence (`group`), any sequence (`any`), or just single cards (`one`, default).
231
+
`from`: which pile to accept cards from: `foundation`, `cell`, `tableau`, `stock`, `waste`, or `any` (default: `stock` if waste, `any` otherwise).
232
+
*`win_rank`: the game is won when the top card of all foundations is of this rank (see below for possible values) (default: `king` if foundation, `none` otherwise).
233
233
234
234
The following values can be used with commands that expect a rank:
0 commit comments