rspeer / dominiate

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

A forced gain with nothing wanted gains a Curse #32

Closed michaeljb closed 13 years ago

michaeljb commented 13 years ago

If a player is being forced to gain a Card (ie they played Haggler), but the player doesn't want to gain any of the available choices (ie they bought a Silver with the Haggler in play, but don't want a Copper or Curse), the player gains a Curse. Might not always be Curse, but that's what showed up in my testing of Haggler. (maybe because Curse is the first card created in cards.coffee, so it's at the front of the card list?)

Obviously for Haggler this can be avoided by more sophisticated play rules, but that would not get rid of this underlying issue.