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:
@@ -222,8 +222,12 @@ id: main
|
|||||||
surfaces:
|
surfaces:
|
||||||
- board#board
|
- board#board
|
||||||
setup:
|
setup:
|
||||||
/draw: carcassonne:tile
|
- path: /draw
|
||||||
/grid/5/5: carcassonne:tile#a
|
parts: carcassonne:tile
|
||||||
/grid/5/6: carcassonne:tile#b
|
- path: /grid/5/5
|
||||||
/grid/6/5: carcassonne:tile#c
|
parts: carcassonne:tile#a
|
||||||
|
- path: /grid/5/6
|
||||||
|
parts: carcassonne:tile#b
|
||||||
|
- path: /grid/6/5
|
||||||
|
parts: carcassonne:tile#c
|
||||||
```
|
```
|
||||||
@@ -133,8 +133,12 @@ role: setup
|
|||||||
type: game
|
type: game
|
||||||
id: main
|
id: main
|
||||||
setup:
|
setup:
|
||||||
/deck: poker:card
|
- path: /deck
|
||||||
/community/0: poker:card#as
|
parts: poker:card
|
||||||
/community/1: poker:card#kh
|
- path: /community/0
|
||||||
/community/2: poker:card#7d
|
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