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:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user