Fix supply card quantities based on player count

This commit is contained in:
Markus Wagner 2021-01-05 21:19:54 +01:00
parent 7b172b5f03
commit e455c97c67

View File

@ -189,13 +189,18 @@ impl Game {
p.draw(5);
}
let victory_qty = match self.players.len() {
x if x <=2 => 8,
_ => 12,
};
self.supply = vec![
("Copper".into(), 46),
("Silver".into(), 38),
("Copper".into(), 60 - self.players.len() * 7),
("Silver".into(), 40),
("Gold".into(), 30),
("Estate".into(), 8),
("Duchery".into(), 8),
("Province".into(), 8),
("Estate".into(), victory_qty),
("Duchery".into(), victory_qty),
("Province".into(), victory_qty),
("Curse".into(), 10),
("Cellar".into(), 10),
("Moat".into(), 10),