rspeer / dominiate

A simulator for Dominion card game strategies
http://rspeer.github.com/dominiate
MIT License
121 stars 43 forks source link

Poor Bishop choices #74

Open rspeer opened 12 years ago

rspeer commented 12 years ago

Strategy1 here is buying Bishops as soon as possible, and here it's trashing Silver instead of Estate:

== Strategy1's turn 1 ==
Strategy1 plays Copper.
Strategy1 plays Copper.
Strategy1 plays Copper.
Strategy1 plays Copper.
Coins: 4, Potions: 0, Buys: 1
Strategy1 buys Bishop.
Strategy1 draws 5 cards: [Copper, Estate, Copper, Copper, Estate].

...

== Strategy1's turn 2 ==
Strategy1 plays Copper.
Strategy1 plays Copper.
Strategy1 plays Copper.
Coins: 3, Potions: 0, Buys: 1
Strategy1 buys Silver.
(Strategy1 shuffles.)
Strategy1 draws 5 cards: [Estate, Bishop, Copper, Copper, Silver].

...

== Strategy1's turn 3 ==
Strategy1 plays Bishop.
...gaining 1 VP.
Strategy1 trashes Silver.
...gaining 1 VP.
Strategy2 trashes Estate.
Strategy1 plays Copper.
Strategy1 plays Copper.
Coins: 3, Potions: 0, Buys: 1
Strategy1 buys Silver.
Strategy1 draws 5 cards: [Estate, Estate, Copper, Copper, Copper].
bilts commented 12 years ago

Is the VP gain wrong or is the log wrong? Trashing a Silver should gain 2 VP tokens.

carter-thaxton commented 12 years ago

You get +1 VP for playing Bishop, and another floor(3/2) = +1 VP for trashing Silver.

Strategy1 plays Bishop. ...gaining 1 VP. Strategy1 trashes Silver. ...gaining 1 VP.

Isn't that right?