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
@@ -133,8 +133,12 @@ role: setup
type: game
id: main
setup:
/deck: poker:card
/community/0: poker:card#as
/community/1: poker:card#kh
/community/2: poker:card#7d
- path: /deck
parts: poker:card
- path: /community/0
parts: poker:card#as
- path: /community/1
parts: poker:card#kh
- path: /community/2
parts: poker:card#7d
```