refactor: update file paths in poker documentation

Remove the `parts/` and `setup/` prefixes from file references in
`games/poker/poker.md` to match the updated file structure.
This commit is contained in:
2026-08-09 22:22:43 +08:00
parent 15c45e7106
commit ef0695ed04
+6 -6
View File
@@ -20,7 +20,7 @@ picks a cell from the `13×4` face sheet (`cards-13x4.jpg`) — 13 ranks across,
4 suits down. All cards share the same back from the `4×1` back sheet 4 suits down. All cards share the same back from the `4×1` back sheet
(`back-4x1.png`). (`back-4x1.png`).
```yaml file=parts/cards.yaml ```yaml file=cards.yaml
role: part role: part
type: card type: card
face: ./cards-13x4.jpg face: ./cards-13x4.jpg
@@ -30,7 +30,7 @@ fillet: 2
$variants: ./cards.csv $variants: ./cards.csv
``` ```
```csv file=parts/cards.csv ```csv file=cards.csv
id,rank,suit,faceCrop,backCrop id,rank,suit,faceCrop,backCrop
string,string,string,[number;number;number;number],[number;number;number;number] string,string,string,[number;number;number;number],[number;number;number;number]
2s,2,spades,[0;0;13;4],[0;0;4;1] 2s,2,spades,[0;0;13;4],[0;0;4;1]
@@ -92,7 +92,7 @@ ac,A,clubs,[12;3;13;4],[0;0;4;1]
A table with a draw pile on the left and five community-card slots across the A table with a draw pile on the left and five community-card slots across the
middle. The deck pile fans its stacked cards along a curve. middle. The deck pile fans its stacked cards along a curve.
```yaml file=parts/board.yaml ```yaml file=board.yaml
type: board type: board
id: poker id: poker
role: surface role: surface
@@ -111,7 +111,7 @@ layout:
$variants: ./community.csv $variants: ./community.csv
``` ```
```csv file=parts/community.csv ```csv file=community.csv
slot,x,y,rotation slot,x,y,rotation
string,number,number,number string,number,number,number
0,-100,0,0 0,-100,0,0
@@ -126,7 +126,7 @@ string,number,number,number
Deal the whole deck onto the draw pile (`poker:card` expands to every card of Deal the whole deck onto the draw pile (`poker:card` expands to every card of
that type), then flip a flop onto the community slots. that type), then flip a flop onto the community slots.
```yaml file=setup/main.yaml ```yaml file=main.yaml
role: setup role: setup
type: game type: game
id: main id: main
@@ -135,4 +135,4 @@ setup:
/community/0: poker:card#as /community/0: poker:card#as
/community/1: poker:card#kh /community/1: poker:card#kh
/community/2: poker:card#7d /community/2: poker:card#7d
``` ```