refactor(games): use ordered setup placements

Convert poker and carcassonne setups to the ordered placement list. Deal the deck/draw first, then move the flop cards and opening tiles out onto their paths.
This commit is contained in:
2026-08-10 11:27:53 +08:00
parent 96c299e498
commit dc721d5c2d
2 changed files with 16 additions and 8 deletions
+8 -4
View File
@@ -222,8 +222,12 @@ id: main
surfaces:
- board#board
setup:
/draw: carcassonne:tile
/grid/5/5: carcassonne:tile#a
/grid/5/6: carcassonne:tile#b
/grid/6/5: carcassonne:tile#c
- path: /draw
parts: carcassonne:tile
- path: /grid/5/5
parts: carcassonne:tile#a
- path: /grid/5/6
parts: carcassonne:tile#b
- path: /grid/6/5
parts: carcassonne:tile#c
```