Open fabienjuif opened 4 years ago
With the previous lib a linked above I think we can lighten the state :) (by not storing all dices)
terraria base 1 for 2 player
landslide
water
gaz
Set: Terraria
Seed master: <> |
Seed dices: <> |
Seed cards: <> |
Seed tiles: <> |
@cards>init
endAtTurn: 2,
availabilities: [
{
type: 'landslide',
max: Infinity,
},
{
type: 'water',
max: 2,
},
{
type: 'gaz',
max 2,
}
]
@cards>init
[landslide, gaz, water]
landslide,
A game set is a set of predefined cards and tiles. A set can be "seeded" in which case the random is the same.
Exemple of sets :